Commit Graph

3591 Commits

Author SHA1 Message Date
Daniel Santos
26ba3fa9d3 Update /v1/job API docs with namespace parameter 2021-03-24 09:31:39 -04:00
Drew Bailey
4484d361ee configuration and oss components for licensing (#10216)
* configuration and oss components for licensing

* vendor sync
2021-03-23 09:08:14 -04:00
Tim Gross
7c7569674c CSI: unique volume per allocation
Add a `PerAlloc` field to volume requests that directs the scheduler to test
feasibility for volumes with a source ID that includes the allocation index
suffix (ex. `[0]`), rather than the exact source ID.

Read the `PerAlloc` field when making the volume claim at the client to
determine if the allocation index suffix (ex. `[0]`) should be added to the
volume source ID.
2021-03-18 15:35:11 -04:00
Tim Gross
618d64ba37 csi: volume init command
Create a convenience command for generating example CSI volume specifications,
similar to the existing `nomad job init` or `nomad quota init` commands.
2021-03-18 14:24:40 -04:00
Dave May
9138d374d6 docs: add missing dashes to operator debug Usage (#10192) 2021-03-17 15:13:04 -04:00
Tim Gross
e200caae45 docs: clarify HCL is parsed in CLI 2021-03-15 15:41:43 -04:00
Florian Apolloner
8b3ea4ea9a docker: support configuring default log driver in plugin options 2021-03-12 16:04:33 -05:00
Luiz Aoqui
e873675a5b docs: add ports to jobspec overview example 2021-03-12 13:36:39 -05:00
Michael Schurter
927392462c docs: remove mention of api versioning
We've only ever had 1 API version, and we've broken backward
compatibility extremely rarely. Nothing changed about this with the
release of 1.0, let's just remove these sentences and save everybody
some reading.
2021-03-12 08:51:22 -08:00
Michael Schurter
7d7bda7f1b docs: describe k8s in terms of "Linux containers"
The terminology here is a bit tricky. Technically Kuberbetes deprecated
their Docker *runtime* support but can still run Docker images. Sadly in
a lot of people's minds "Docker" and "containers" are nearly synonymous.

I think "Linux containers" is a more accurate characterization of
Kubernetes focus than "Docker" at this point.

Fixes #10120
2021-03-11 17:49:13 -08:00
James Rasell
ded978c34c Merge pull request #10140 from hashicorp/b-gh-10070
agent: return req error if prometheus metrics are disabled.
2021-03-10 17:11:39 +01:00
James Rasell
9263f4052a correctly format variable name within upgrade doc
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2021-03-10 15:08:17 +01:00
Tim Gross
a0aef186ec CLI 'nomad ui -authenticate' flag for one-time token exchange
Includes swapping the previously documented `-login` flag for `-authenticate`
to align better with Waypoint.
2021-03-10 08:17:56 -05:00
Tim Gross
f9cf36d43a HTTP API support for 'nomad ui -login'
Endpoints for requesting and exchanging one-time tokens via the HTTP
API. Includes documentation updates.
2021-03-10 08:17:56 -05:00
Tim Gross
47f3945cfe docs: 'nomad ui -login' command 2021-03-10 08:17:56 -05:00
Tim Gross
df298a44d9 docs: update website links from master to main 2021-03-09 14:42:24 -05:00
James Rasell
65c826d887 docs: add upgrade guide for change to metrics API. 2021-03-09 15:40:08 +01:00
Kris Hicks
d03afe26b0 docs: Update sample JSON in Create Job API (#10108)
This is maybe a more realistic job that someone would actually submit
via the API; it more closely aligns with the example job from `nomad
job init`.

It's also been updated to use group network and service definitions.
2021-03-08 10:06:28 -08:00
Tim Gross
f270a44b56 docs/artifact: clarify git:: prefix usage for private repos 2021-03-08 10:55:32 -05:00
Tim Gross
7e44f2bfe7 docs: clarify mount source path in filesystem docs 2021-03-08 10:20:30 -05:00
Tim Gross
b6c24e8913 docs: required capabilities on Linux 2021-03-08 10:20:18 -05:00
Adrian Todorov
2748d2a895 driver/docker: add extra labels ( job name, task and task group name) 2021-03-08 08:59:52 -05:00
Luiz Aoqui
1c8172ae4e Merge pull request #10119 from hashicorp/docs-autoscaler-drain-timeout
docs: hightlight different default node drain deadline when using the Autoscaler
2021-03-05 14:27:56 -05:00
Luiz Aoqui
6939ff01f1 docs: hightlight different default node drain deadline when using the Autoscaler 2021-03-04 16:51:07 -05:00
Michael Schurter
6920d67746 Merge pull request #10118 from hashicorp/docs-secmodel
docs: remove stray mention that namespaces are ent
2021-03-04 11:50:22 -08:00
Michael Schurter
48a832f9c3 docs: remove stray mention that namespaces are ent
namespaces are oss
2021-03-04 10:57:10 -08:00
Noel Quiles
0c91a78a85 [Website] Updates to homepage, highlighting features (#10019)
* Impl: base structure

* Impl: ComparisonItem/component bg color

* Style comparison items

* CSS: Typography/spacing pass

* Theme detailCta

* Callouts: content pass

* Impl: Logo grid section

* Add proper logos to logoGrid

* Hack: override button colors w/Nomad

* Link enhancements

* Clean up comments

* Revert link wrapping changes

* Remove paragraph after Why Nomad

* Add available links

* GitHub logo to GitLab

* Move callouts to just under Why Nomad? for A ver.

* Test comment to see if Vercel picks up this commit
2021-03-03 17:42:34 -05:00
Drew Bailey
eddd11134e remove v1-v2 varlink references (#10110)
* remove v1-v2 varlink references

* Update website/content/docs/drivers/podman.mdx

Co-authored-by: Tim Gross <tgross@hashicorp.com>

* fix code snippet

Co-authored-by: Tim Gross <tgross@hashicorp.com>
2021-03-03 13:59:32 -05:00
Andrea Simonini
2dbb964d72 Fixed typos 2021-03-01 08:16:00 -05:00
Huan Wang
1d4fbb6479 update policy.mdx -- fixing strategy name 2021-02-26 21:32:00 -07:00
Luiz Aoqui
837f5925d3 Merge pull request #9908 from hashicorp/docs-autoscaler-node-drain-ignore-system-jobs
document Autoscaler `node_drain_ignore_system_jobs` configuration
2021-02-26 18:41:56 -05:00
Luiz Aoqui
aec6264654 Merge pull request #10062 from hashicorp/docs-autoscaler-sighup
docs: expand Autoscaler SIGHUP documentation
2021-02-26 18:31:24 -05:00
Luiz Aoqui
241675a8b9 docs: add node_drain_ignore_system_jobs to Autoscaler GCP plugin 2021-02-26 18:30:45 -05:00
Luiz Aoqui
d34b0971c2 docs: document Autoscaler node_drain_ignore_system_jobs configuration 2021-02-26 18:29:41 -05:00
James Rasell
321612a8f4 docs: add Nomad Autoscaler GPC MIG target plugin detail. (#10090)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2021-02-26 17:21:09 +01:00
Andre Ilhicas
f3aabdc5c2 consul/connect: enable setting local_bind_address in upstream 2021-02-26 11:37:31 +00:00
Drew Bailey
6fc62aa235 Merge pull request #9955 from hashicorp/on-update-services
Service and Check on_update configuration option (readiness checks)
2021-02-24 10:11:05 -05:00
Tim Gross
0daf1ae086 post-1.0.4 release prep 2021-02-24 09:56:53 -05:00
Luiz Aoqui
2b6fa059e0 docs: update link to the Nomad Autoscaler demos 2021-02-23 15:24:37 -05:00
Tim Gross
174c206b30 deploymentwatcher: reset progress deadline on promotion (#10042)
In a deployment with two groups (ex. A and B), if group A's canary becomes
healthy before group B's, the deadline for the overall deployment will be set
to that of group A. When the deployment is promoted, if group A is done it
will not contribute to the next deadline cutoff. Group B's old deadline will
be used instead, which will be in the past and immediately trigger a
deployment progress failure. Reset the progress deadline when the job is
promotion to avoid this bug, and to better conform with implicit user
expectations around how the progress deadline should interact with promotions.
2021-02-22 16:44:03 -05:00
Luiz Aoqui
1c01a7a6b4 Update website/content/docs/autoscaling/agent.mdx
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2021-02-22 16:37:03 -05:00
Chris Baker
8abb414810 Update website/content/docs/autoscaling/agent.mdx 2021-02-22 15:20:58 -06:00
Luiz Aoqui
5b5f94d9dc docs: expand Autoscaler SIGHUP documentation 2021-02-22 15:38:26 -05:00
Cathy Chang
a4d99a87f4 docs: clarify log_rotate_max_files 2021-02-19 09:37:55 -05:00
Tim Gross
a68abe340d docs: clarify type constraints for collections in locals
HCL2 locals don't have type constraints, and the map syntax is interpreted as
an object. So users may need to explictly convert to map for some functions.

The `convert` function documentation was missing the required type constructor
parameter for collections.
2021-02-17 14:45:05 -05:00
Tim Gross
1a1e280bd4 docs: clarify that block labels can't be interpolated in HCL2
Block labels are not expressions so they can't be interpolated without hacks
like `dynamic` blocks. Clarify this so that we don't confuse users who
shouldn't need to dig into the subtle nuances between expressions and blocks.
2021-02-17 11:53:06 -05:00
Tim Gross
db8ce30074 docs: remove artifact destination interpolation warning 2021-02-17 09:52:27 -05:00
Charlie Voiselle
def4d61617 Merge pull request #10020 from hashicorp/docs-update-install-brew
Updated Homebrew install instructions
2021-02-12 11:52:59 -05:00
Seth Hoenig
a2daa3c08a docs: update ingress gateway runnable demo
Using the environment variable stopped working here a while back,
should be using the port label. Also upgrade to uuid-api:v5 which
supports linux/arm64.
2021-02-12 10:10:16 -06:00
Charlie Voiselle
3232d5b0fe Updated Homebrew install instructions 2021-02-11 18:42:18 -05:00