Commit Graph

3477 Commits

Author SHA1 Message Date
Tim Gross 56a3e910ea
docs: add Consul policy for Consul Namespace support (#9014)
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-10-02 15:13:33 -04:00
Charlie Voiselle c0eca08bcc
Update docker.mdx (#8913) 2020-10-02 14:54:14 -04:00
Fredrik Hoem Grelland a015c52846
configure nomad cluster to use a Consul Namespace [Consul Enterprise] (#8849) 2020-10-02 14:46:36 -04:00
Ryan Oaks 536aab271d Format docs website code and mdx 2020-10-02 13:31:40 -04:00
Seth Hoenig a8869bd304 docs: document docker signal fix, add tests
This PR adds a version specific upgrade note about the docker stop
signal behavior. Also adds test for the signal logic in docker driver.

Closes #8932 which was fixed in #8933
2020-10-02 10:06:43 -05:00
Jean-Baptiste Besselat ffd085b3d9 [doc] fix deprecated port_map example 2020-10-02 14:39:48 +02:00
Fredrik Hoem Grelland 953d4de8dd
update consul-template to v0.25.1 (#8988) 2020-10-01 14:08:49 -04:00
José Maia 9e14dc90f9
Fix docs on API for volume detaching (#9002)
`nomad volume detach volume-id 00000000-0000-0000-0000-000000000000` produces an API call containing the UUID as part of the query string. This is the only way the API accepts the request correctly - if you pass it in the payload you get `detach requires node ID`
2020-10-01 11:01:13 -04:00
Kent 'picat' Gruber ef36bcfc43 Update nomad operator keygen example command in docs 2020-09-30 17:07:31 -04:00
Kent 'picat' Gruber 4570952fe4 Update server configuration docs to use 32 bytes 2020-09-30 17:03:12 -04:00
Tim Gross 9853653f2a
docs: quota apply does not have a 'name' param (#8983) 2020-09-29 13:58:30 -04:00
Charlie Voiselle 9d85195361
[docs] Update redirects and links for learn.hashicorp.com (#8598)
* Fix links to ACL guides
* Managing Nomad guide links; links in jsx pages
* job updates guide URLS
* node-drain guide URLS
* outage recovery guide links
* fix guide links - sentinel
* fix guide links - namespaces
* fix guide links - quotas
* fix guide links - autopilot
* more guide links.
* more guide links - continued.
* Updating redirects for learn
* Getting Started
* Load Balancing Guides
* update redirects for ui guide
* Consolidate spark redirects to point to GH repo
* operating job update part 1
* finish operating job links; operations guides links.
* finish guide redirects
* coalesce EOL redirects for spark guides.
* one last link
* Checked links and found a few more stray links
* Found more .htmls
* Fixup links for new HC websites
* Post-merge fixups
* linkcheck caught missing ids
2020-09-29 12:48:32 -04:00
Seth Hoenig af9543c997 consul: fix validation of task in group-level script-checks
When defining a script-check in a group-level service, Nomad needs to
know which task is associated with the check so that it can use the
correct task driver to execute the check.

This PR fixes two bugs:
1) validate service.task or service.check.task is configured
2) make service.check.task inherit service.task if it is itself unset

Fixes #8952
2020-09-28 15:02:59 -05:00
Seth Hoenig fd2a31a331 drivers/docker: detect arch for default infra_image
The 'docker.config.infra_image' would default to an amd64 container.
It is possible to reference the correct image for a platform using
the `runtime.GOARCH` variable, eliminating the need to explicitly set
the `infra_image` on non-amd64 platforms.

Also upgrade to Google's pause container version 3.1 from 3.0, which
includes some enhancements around process management.

Fixes #8926
2020-09-23 13:54:30 -05:00
Ryan Oaks 7333335b1c
Merge pull request #8942 from hashicorp/ro.docs-component-update
docs: Update docs platform components
2020-09-22 16:21:35 -04:00
Tim Gross 3fb377b513
docs: fix escaping in job run env vars (#8944) 2020-09-22 14:32:29 -04:00
Ryan Oaks 950de562a1 Update docs platform components 2020-09-22 12:08:57 -04:00
Kris Hicks f9cb793193
docs: fix typo 'thre' -> 'the' (#8937) 2020-09-21 11:52:45 -04:00
Mahmood Ali bb46bfd6bf update release to 0.12.5 2020-09-17 20:41:04 -04:00
Luiz Aoqui f024e6af5f
Merge pull request #8811 from hashicorp/docs/fix-local-service-port
docs: fix type for `local_service_port`
2020-09-17 10:04:36 -04:00
Mahmood Ali 4f3daaaeaa
Merge pull request #8789 from hashicorp/docs-fix-group-link
docs: Fix group link in job spec docs
2020-09-17 08:30:49 -05:00
Brad Phipps 4c983e7374
docs: add missing double quote (#8806) 2020-09-17 09:16:30 -04:00
Mahmood Ali 1bf98d3a24 tweak the language about mbit scheduling factor 2020-09-17 08:35:38 -04:00
Mahmood Ali f41cf9c67b Update website with network mbit deprecation 2020-09-16 11:06:35 -04:00
James Rasell cf4083b3e4
Merge pull request #8890 from arthur-leclerc/docs-fix-nomad-autoscaling-telemetry-dd-example
docs: Fix Nomad autoscaler Datadog telemetry example
2020-09-16 10:55:45 +02:00
Charlie Voiselle c665ada39c
Merge pull request #8869 from hashicorp/docs-move-ea-guides
Sunset older instances of EA Guides
2020-09-15 12:49:35 -04:00
Arthur Leclerc 865c99b548 docs: Fix autoscaler datadog telemetry example 2020-09-15 14:02:58 +00:00
José Maia 4515e89d8c
Fix sample JSON payload when updating a Volume (#8880)
Fixes #8879
2020-09-14 09:24:26 -04:00
Tim Gross 317eba3b20
docs: add chroot contents to Java driver docs (#8873) 2020-09-11 10:38:30 -04:00
Charlie Voiselle f3a6c9d0fa
Update copy on Production overview page 2020-09-10 21:12:43 -04:00
Charlie Voiselle e64e6f1afd
Sunset local copy of Deployment Guide and Reference Architecture 2020-09-10 21:12:32 -04:00
Michael Schurter b41a54fb98 docs: update website to 0.12.4 2020-09-09 15:22:22 -07:00
James Rasell b44e703506
docs: format Autopilot config stanza example. 2020-09-09 15:37:39 +02:00
Kevin Pruett 97e4f376fc Fix several search-related issues
* CSS on mobile
* Remove stale partial indices
* Fix broken hit links
* Leverage @hashicorp/react-search/tools
2020-09-08 11:02:57 -04:00
James Rasell eca9ed49c4
docs: add Nomad Autoscaler Datadog APM plugin details. (#8755) 2020-09-08 09:40:45 +02:00
James Rasell c26421a56b
Merge pull request #8837 from hashicorp/docs-autoscaler-gh-257
docs: update Autoscaler AWS target with new purge config option.
2020-09-08 09:15:27 +02:00
James Rasell 75adfabf31
docs: add Autoscaler telemetry documentation to website. (#8733)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2020-09-08 09:13:53 +02:00
James Rasell 75d2330ff7
docs: update Autoscaler AWS target with new purge config option. 2020-09-07 10:45:41 +02:00
Shishir 47bdf13ac9
nomad-driver-containerd: Update networking section (#8762) 2020-09-03 10:31:58 -04:00
Michael Schurter edda586205 docs: add download link to 0.12.4-rc1 2020-09-02 21:25:56 -07:00
Luiz Aoqui 36f8e38002
Merge pull request #8812 from hashicorp/docs/add-volume-mount-to-task
docs: add entry for volume_mount in task
2020-09-02 10:21:46 -04:00
James Rasell 03d56ec706
docs: fix incorrect aws-asg autoscaler target plugin policy params 2020-09-02 14:03:35 +02:00
Luiz Aoqui e4073ab8de
docs: add entry for volume_mount in task 2020-09-01 18:59:05 -04:00
Luiz Aoqui 0ecf4183cd
docs: fix type for local_service_port 2020-09-01 18:38:01 -04:00
Mahmood Ali 70403632cf docs: Fix group link in job spec docs 2020-08-31 20:36:57 -04:00
Ahmed e13f60b84c
update acl guide link 2020-08-29 21:29:49 +02:00
Kevin Pruett 016d18434d
Replace local search with @hashicorp/react-search 2020-08-28 15:15:35 -04:00
Tim Gross 67a875af15
docs: alphabetize community task driver listing (#8774)
Everything else in the docs sidebars is alphabetized, so do it here too.
2020-08-28 11:05:20 -04:00
Seth Hoenig 9f1f2a5673 Merge branch 'master' into f-cc-ingress 2020-08-26 15:31:05 -05:00
Mahmood Ali 50ce793ad6
Merge pull request #8741 from hashicorp/fix-security-model-broken-links
Fix Broken Learn Guide Links in Security Model
2020-08-25 12:27:59 -04:00
Kent 'picat' Gruber c8a2165a33 Fix broken guide links + small authn/authz wording adjustments 2020-08-25 11:46:34 -04:00
Roger Berlind ed719392cf
remove preemption, add cross-namespace queries
remove preemption from summary of governance and policy module since it is now OSS.
add cross-namespace queries to that same sentence.
2020-08-25 11:13:40 -04:00
Mahmood Ali ff01f521a1
Merge pull request #8656 from JanMa/update-nspawn-docs
Update docs for nspawn driver
2020-08-23 21:24:56 -04:00
Seth Hoenig 5b072029f2 consul/connect: add initial support for ingress gateways
This PR adds initial support for running Consul Connect Ingress Gateways (CIGs) in Nomad. These gateways are declared as part of a task group level service definition within the connect stanza.

```hcl
service {
  connect {
    gateway {
      proxy {
        // envoy proxy configuration
      }
      ingress {
        // ingress-gateway configuration entry
      }
    }
  }
}
```

A gateway can be run in `bridge` or `host` networking mode, with the caveat that host networking necessitates manually specifying the Envoy admin listener (which cannot be disabled) via the service port value.

Currently Envoy is the only supported gateway implementation in Consul, and Nomad only supports running Envoy as a gateway using the docker driver.

Aims to address #8294 and tangentially #8647
2020-08-21 16:21:54 -05:00
Mahmood Ali 8515885227 docs: fix job run -detach example 2020-08-20 11:42:36 -04:00
Shishir Mahajan 7055477860
Podman driver: Add support for signal task. 2020-08-19 17:25:52 -07:00
davemay99 3c12ef8f70 Change 'license set' to 'license put' to reflect correct syntax 2020-08-17 14:10:21 -04:00
Luiz Aoqui d4f8629968
docs: update allocation metrics 2020-08-14 14:16:38 -04:00
James Rasell 01413d8258
docs: update Docker driver to detail new image_pull_timeout params. 2020-08-14 09:40:24 +01:00
Drew Bailey f8c7f94721
prepare release 2020-08-13 17:26:02 -04:00
JanMa 7a04afebf6 Update docs for nspawn driver
There have been some new config options added in recent releases of the nspawn
driver. This commit updates the docs accordingly.
2020-08-12 20:28:03 +02:00
Drew Bailey 1b330c7f0c
add info about multi-vault namespaces (#8654)
* add info about multi-vault namespaces

* typo
2020-08-12 14:13:22 -04:00
Drew Bailey b7913ecdb9
bump website version 2020-08-12 11:59:50 -04:00
James Rasell d4251929f7
docs: fix incorrect Autoscaler policy block dir detail. 2020-08-12 11:37:59 +01:00
Nick Ethier e39574be59
docker: support group allocated ports and host_networks (#8623)
* docker: support group allocated ports

* docker: add new ports driver config to specify which group ports are mapped

* docker: update port mapping docs
2020-08-11 18:30:22 -04:00
Seth Hoenig 4f0af55a8f docs: update connect integration limitations 2020-08-11 16:43:52 -05:00
Lang Martin 07ea822c6a
nomad debug renamed to nomad operator debug (#8602)
* renamed: command/debug.go -> command/operator_debug.go
* website: rename debug -> operator debug
* website/pages/api-docs/agent: name in api docs
2020-08-11 15:39:44 -04:00
Tim Gross 443fdaa86b
csi: nomad volume detach command (#8584)
The soundness guarantees of the CSI specification leave a little to be desired
in our ability to provide a 100% reliable automated solution for managing
volumes. This changeset provides a new command to bridge this gap by providing
the operator the ability to intervene.

The command doesn't take an allocation ID so that the operator doesn't have to
keep track of alloc IDs that may have been GC'd. Handle this case in the
unpublish RPC by sending the client RPC for all the terminal/nil allocs on the
selected node.
2020-08-11 10:18:54 -04:00
James Rasell 994468a3e0
docs: fix minor formatting issues on docker driver page. (#8578)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-08-11 12:41:50 +02:00
Seth Hoenig e9044c47cd consul: clarify consecutive checks in docs 2020-08-10 14:08:09 -05:00
Seth Hoenig fd4804bf26 consul: able to set pass/fail thresholds on consul service checks
This change adds the ability to set the fields `success_before_passing` and
`failures_before_critical` on Consul service check definitions. This is a
feature added to Consul v1.7.0 and later.
  https://www.consul.io/docs/agent/checks#success-failures-before-passing-critical

Nomad doesn't do much besides pass the fields through to Consul.

Fixes #6913
2020-08-10 14:08:09 -05:00
Drew Bailey 5fc0a73b0b
update vault integration docs (#8543)
* update vault integration docs

docs/integrations/vault-integration was a copy of the learn guide. Remove that and move /docs/vault-integration to this location instead

fix link

fix link

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

* revert accidental deletion

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
2020-08-10 14:23:43 -04:00
Charlie Voiselle ac5e3f9e23
Removed version tag
In order to prevent staleness, changed driver links to point to releases page rather than a specific version.

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-08-07 17:53:36 -04:00
Charlie Voiselle 92a2a0429e
[docs] Updating install instructions to add packages. (#8534)
* Updated install, added packages
* Apply suggestions from code review

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-08-07 16:27:17 -04:00
Kevin Pruett cdeaa7236f
Implement search via Algolia 2020-08-07 12:36:38 -04:00
Tim Gross 3169839653
docs: always use -ignore-system on node drain with CSI (#8606)
Postrun hooks for allocation runners don't currently block the registration of
terminal health with the servers, which is what allows system jobs to be
drained. So draining nodes with jobs that claim CSI volumes requires the
`-ignore-system` job to ensure that the postrun hook for service jobs gets a
chance to execute.
2020-08-07 11:22:28 -04:00
Luiz Aoqui 0fadad46d3
Merge pull request #8595 from hashicorp/docs/fix-connect-log-level
docs: fix Consul Connect log_level meta key
2020-08-06 11:00:09 -04:00
Luiz Aoqui 602d3373ed
docs: fix Consul Connect log_level meta key 2020-08-05 17:01:03 -04:00
Shishir Mahajan 874f948520
Fix review comments. 2020-08-05 11:51:00 -07:00
Shishir Mahajan 088b0694b4 Add nomad-driver-containerd to nomad UI docs. 2020-08-04 11:29:05 -07:00
Drew Bailey c06a84e4a2
ignore VAULT_NAMESPACE (#8581)
VAULT_NAMESPACE in 0.12.1 and previous versions is already ignored. \n revert change that used it as a default since it will break oss users
2020-07-31 10:33:21 -04:00
James Rasell 90903bb625
Merge pull request #8555 from hashicorp/remove-size-detail-from-docs-homepage
docs: remove Nomad binary size from README and website.
2020-07-30 19:20:23 +02:00
Michael Lange af446cec10 Update Reason to Message in the job scale docs 2020-07-30 09:06:08 -07:00
Buck Doyle bf056b3011
Change capitalisation
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-07-30 10:09:47 -05:00
Buck Doyle 7855adf127 Add documentation for job name parameter 2020-07-30 10:03:50 -05:00
Buck Doyle adada0d5b0
Fix placement invocations (#8558) 2020-07-30 09:56:58 -05:00
James Rasell 2fc2cf4482
docs: remove Nomad binary size from README and website.
The Nomad binary size has been detailed differently in places
and is subject to changing almost daily. We should therefore
remove this to avoid confusion and misrepresentation.
2020-07-29 09:04:28 +02:00
Mahmood Ali 582899277f
Merge pull request #8533 from hashicorp/docs-gh-6987-rebase
Add missing `token list` subcommand in list
2020-07-27 09:19:52 -04:00
Drew Bailey bd421b6197
Merge pull request #8453 from hashicorp/oss-multi-vault-ns
oss compoments for multi-vault namespaces
2020-07-27 08:45:22 -04:00
Tim Gross e604220084
docs and changelog entry for `nomad volume deregister -force` (#8537) 2020-07-24 15:13:11 -04:00
Jeff Escalante 7c80b94c60 hard pin and update dependencies 2020-07-24 11:18:02 -04:00
Mahmood Ali 0cf31d732c
Update website/pages/docs/commands/acl/index.mdx
Co-authored-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2020-07-24 11:01:40 -04:00
Mahmood Ali 8644eb386a
Merge pull request #6531 from hashicorp/docs-markdownlintrc
Added a markdownlintrc
2020-07-24 10:41:12 -04:00
James Rasell ff351575b3
Merge pull request #8531 from hashicorp/gh-8527-docs-updates
docs: update website and changelog to detail GH-8527
2020-07-24 16:40:52 +02:00
Drew Bailey b296558b8e
oss compoments for multi-vault namespaces
adds in oss components to support enterprise multi-vault namespace feature

upgrade specific doc on vault multi-namespaces

vault docs

update test to reflect new error
2020-07-24 10:14:59 -04:00
Mahmood Ali bc19dd6b76 Just a small doc fix, `acl token list` subcommand was missing in the list. 2020-07-24 10:09:30 -04:00
Mahmood Ali 4fb205343d
Merge pull request #8513 from hashicorp/security-model-add-recommendations
Add TLS and HTTP Header recommendations to security model documentation
2020-07-24 09:56:56 -04:00
James Rasell 29fbc15bb5
docs: add Namespace field to scale status GET example. 2020-07-24 14:45:50 +02:00
James Rasell 71d9c23e47
docs: clarify scaling stanza is not supported within system jobs. 2020-07-24 10:05:38 +02:00
Michael Schurter 1400e0480d
Merge pull request #8521 from hashicorp/docs-hearbeat
docs: s/hearbeat/heartbeat and fix link
2020-07-23 14:07:24 -07:00
Drew Bailey f04a1d73bc
update version for 0.12.1 2020-07-23 15:36:33 -04:00
Michael Schurter 8340ad4da8 docs: s/hearbeat/heartbeat and fix link
Also fixed the same typo in a test. Fixing the typo fixes the link, but
the link was still broken when running the website locally due to the
trailing slash. It would have worked in prod thanks to redirects, but
using the canonical URL seems ideal.
2020-07-23 11:33:34 -07:00
Brandon Romano 412fee5c24 Revert "updating banner for webinar"
This reverts commit 2c4a801b7de8857a1cd58c40f1d7ff8be951102c.
2020-07-23 10:55:00 -07:00
Kent 'picat' Gruber 94d1a87c22 Small wording adjustment to prevent stuttering
Didn't catch this before, but caught it during my read through today.
2020-07-23 11:18:00 -04:00
Kent 'picat' Gruber aa7e611fa0 Link to link to raw_exec driver 2020-07-23 11:15:29 -04:00
Kent 'picat' Gruber 534fc37ddf Small style adjustment for security_opt 2020-07-23 11:14:53 -04:00
Kent 'picat' Gruber e2c2e77415 Add HTTP Headers settings to the recommendations section 2020-07-23 11:12:35 -04:00
Kent 'picat' Gruber 23d0433596 Add TLS settings to the recommendations section 2020-07-23 11:11:40 -04:00
Nick Ethier 5167bae0d5
website: remove usage of task network stanza (#8498)
* website: remove usage of task network stanza and add documentation for group network and service stanzas

* docs: fix broken link in client config

* Update website/pages/docs/job-specification/group.mdx

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>

* Update website/pages/docs/job-specification/group.mdx

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-07-23 09:18:59 -04:00
Peter M e66b224d78
updating banner for webinar
webinar scheduled for July 23rd, can roll back to the previous banner afterwards
2020-07-22 13:31:02 -07:00
Drew Bailey f7c2ecb205
move podman out of external task drivers (#8502)
* move podman out of external task drivers

* document driver capabilities

* add redirect from old podman url to new one

* fix syntax
2020-07-22 14:55:40 -04:00
Mahmood Ali 898d8d849d docs: snapshot uses consul 2020-07-22 13:53:54 -04:00
Tim Gross 77f4189cd2
docs: expand explanation of task driver capabilities (#8485) 2020-07-22 12:14:20 -04:00
Michael Schurter be43ae77f0 docs: remove mention of custom schedulers
Not sure if this was meant to imply adding more schedulers to Nomad is
easy, or that we plan on adding pluggable schedulers. Either way,
neither of those statements is really true unless you really stretch the
definitions of "easy" and "plan".

So remove this sentence as I can't imagine it does anything other than
confuse people.
2020-07-22 08:57:43 -07:00
Michael Schurter 91e55d4bc3 docs: create a shortcut for stop_after_client_...
Some code names are too good not to mention.
2020-07-22 08:56:50 -07:00
James Rasell b391ec2a06
Merge pull request #8494 from hashicorp/b-fix-snapshot-agent-example-config-file
docs: fix snapshot agent example config file syntax and values.
2020-07-22 14:09:11 +02:00
James Rasell ba25492fc4
docs: fix snapshot agent example config file syntax and values. 2020-07-22 13:30:18 +02:00
Lance Haig 014175de45
Update snapshot-save.mdx
Fix the nomad operator snapshot command examples.
They were missing the "operator" option
2020-07-22 13:04:47 +02:00
kobayashi e095a70bd6
Add capabilities to task drivers' pages (#8476) 2020-07-21 14:54:31 -04:00
Mahmood Ali b614d0a67b
docs: enabled option for nvidia device plugin (#8480) 2020-07-21 10:14:32 -04:00
Michael Schurter 30fbec3557 docs: document enterprise upgrade bug #8457 2020-07-17 11:57:29 -07:00
Charlie Voiselle 551ac184ee
Merge pull request #8437 from angrycub/d-reschedule-in-deploys
[docs] Rescheduling does happen during deployments
2020-07-15 15:24:21 -04:00
Mahmood Ali b6e9265d0f
Merge pull request #8383 from hashicorp/docs-security-model-followup
Revise security model feedback
2020-07-15 13:11:39 -04:00
Charlie Voiselle baaab98a0d
[docs] Reschedule does happen during deployments 2020-07-14 16:29:30 -04:00
Michael Schurter 64e81f0549
Merge pull request #7042 from hashicorp/docs-healthy-deadline
docs: clarify healthy/progress_deadline relationship
2020-07-13 08:40:11 -07:00
Seth Hoenig 61b1aa5775
Merge pull request #8417 from hashicorp/docs-docker-kill-signal
docs: clarify kill_signal default for docker
2020-07-10 11:50:21 -05:00
Seth Hoenig 21a74b4bd4 docs: clarify kill_signal default for docker
Before docker, the only default was `SIGINT` for `kill_signal`. The
docker driver however defaults to `SIGTERM`, and we should document
as such.

Fixes #7140
2020-07-10 09:57:49 -05:00
James Rasell d517c2e1d5
docs: fix minor incorrect syntax in autoscaling plugin docs.
This changes fixes a syntax error in the autoscaling apm plugin
docs as well as updates the scaling stanza doc. The stazna wording
implied its use was only for external autoscalers, whereas it also
is used by the UI.
2020-07-10 16:07:29 +02:00
Michael Lange 4fdad98b5d
Merge pull request #8405 from kaybr01/patch-1
Update preemption.mdx
2020-07-09 16:22:30 -07:00
Chris Baker 69dbefb3a2 version updates for 0.12.0 2020-07-09 16:16:53 +00:00
Kevin Pruett 9c7485a982
website: updates for 0.12 release (#8397)
* Updates for 0.12 release

* Update SVGs to align to styles

* Updates alert banner for blog

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>
2020-07-09 11:58:52 -04:00
kaybr01 9804aacd5c
Update preemption.mdx
Typo
2020-07-09 11:44:57 -04:00
Tim Gross a4b76e0203
docs: fix markdown syntax in job stop page (#8401) 2020-07-09 08:45:25 -04:00
Rémi Lapeyre 8f183abfd9
Fix typo in volume HTTP API documentation (#8396) 2020-07-09 08:33:45 -04:00
Chris Baker 56aea23b4e
[docs] more specific link in enterprise docs 2020-07-09 06:25:44 -05:00
Gale Fagan bbdb568802
Update website/pages/docs/enterprise/index.mdx
Those pesky caps

Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-07-08 17:56:44 -07:00
Gale Fagan 6d71b8f00b Update Enterprise docs page, add new features 2020-07-08 16:19:12 -07:00
Luiz Aoqui 0b76c12cf8
docs: fix broken links and formatting of the autoscaler docs 2020-07-08 18:42:41 -04:00
Nick Ethier 119ece09a0
docs: add CNI and host_network docs (#8391)
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-07-08 15:45:04 -04:00
Seth Hoenig 1a75da0ce0 consul/connect: infer task name in service if possible
Before, the service definition for a Connect Native service would always
require setting the `service.task` parameter. Now, that parameter is
automatically inferred when there is only one task in the task group.

Fixes #8274
2020-07-08 13:31:44 -05:00
Chris Baker 111038513c
correcting CSI Plugins API sample response
neither `structs.CSIPlugin` nor `api.CSIPlugin` contain `topologies`
2020-07-07 16:17:23 -05:00
Mahmood Ali 865844df2a address some review feedback 2020-07-07 13:09:50 -04:00
James Rasell cf38a4ef7c
Merge pull request #8315 from hashicorp/autoscaler-docs-migration
docs: migration of Nomad Autoscaler docs with cluster updates.
2020-07-07 15:20:11 +02:00
Chris Baker ed146a991f fix spelling error to make linter happy 2020-07-07 02:02:19 +00:00
Jeff Escalante 7098b83aaf learn -> tutorials in subnav 2020-07-06 18:43:54 -04:00
Mahmood Ali 55d10e6bd0
Merge pull request #8369 from hashicorp/docs-security-model
Add security model document
2020-07-06 17:37:05 -04:00
Tim Gross c74d820ae1
docs: note MRD is beta and removing regions doesn't work (#8370) 2020-07-06 16:02:10 -04:00
Mahmood Ali 0e4346986d Add security model document 2020-07-06 14:54:49 -04:00
Chris Baker 5b96c3d50e
Merge pull request #8360 from hashicorp/b-8355-better-scaling-validation
better error handling around Scaling->Max
2020-07-06 11:32:02 -05:00
Chris Baker 4c20c5833e
Update plugins.mdx
bad example JSON response
2020-07-05 16:46:44 -05:00
Chris Baker 64feb9aacf added scaling->min default discussion to group->count documentation 2020-07-04 18:33:19 +00:00
Jonathan Neal 76e2e38e40
Patch bump internal hashicorp dependencies (#8300)
* Bump internal hashicorp dependencies

* Trigger CI

* Add pointless changes to trigger CI

* Use next@canary

* Fixer upper

* Update package-lock.json

* Bump dependencies to resolve issues with mdx permalink styles
2020-07-02 17:56:09 -04:00
Lang Martin ebfffbca20
doc: add api docs to agent page (#8339)
* doc: add api docs to agent page

* docs: add a sentence about redaction
2020-07-02 11:04:55 -04:00
Drew Bailey 194c414928
podman documentation (#8331)
* podman documentation

* capitalizations
2020-07-01 16:41:39 -04:00
Mahmood Ali 1917989a1f document namespace option in CLI docs 2020-07-01 15:31:41 -04:00
Mahmood Ali 68ec45dd0f document namespace=* in relevant APIs 2020-07-01 15:20:57 -04:00
Tim Gross 23be116da0
csi: add -force flag to volume deregister (#8295)
The `nomad volume deregister` command currently returns an error if the volume
has any claims, but in cases where the claims can't be dropped because of
plugin errors, providing a `-force` flag gives the operator an escape hatch.

If the volume has no allocations or if they are all terminal, this flag
deletes the volume from the state store, immediately and implicitly dropping
all claims without further CSI RPCs. Note that this will not also
unmount/detach the volume, which we'll make the responsibility of a separate
`nomad volume detach` command.
2020-07-01 12:17:51 -04:00
James Rasell fdce1e43bb
docs: add autoscaler plugin ACL details and SIGHUP mention. 2020-07-01 15:41:16 +02:00
James Rasell 9cc5540926
docs: migration of Nomad Autoscaler docs with cluster updates.
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-07-01 13:03:49 +02:00
Chris Baker b08f8841e4 updated website to reference beta2 on the downloads page 2020-06-30 21:19:08 +00:00
Mahmood Ali 07b5acb3cc
Merge pull request #8309 from hashicorp/b-docs-index-redirect
handle redirect index.html
2020-06-29 16:37:42 -04:00
Chris Baker 671af76bce website redirect for /docs/job-specification/index.html 2020-06-29 17:15:44 +00:00
Mahmood Ali 627efc063a handle redirect index.html
We moved away from supporting `/index.html`, so now we need to have
explicit redirects for them
2020-06-29 12:18:44 -04:00
Ricardo Martins ce1fdc0dfc
docs: fix typo in upgrade instructions (#8301)
The suggested plugin configuration to re-enable Docker volumes was erroneously
using the singlular `volume` instead of the correct `volumes`, making the
client fail to parse the configuration and causing it not to start.
2020-06-29 08:27:45 -04:00
Michael Fellinger 8f41747645
Fix environment variable for NOMAD_ADDR (#8302) 2020-06-29 08:26:20 -04:00
Chris Baker 16351f3729 added redirect for /docs/index.html 2020-06-29 11:54:37 +00:00
Jeff Escalante 35b87e2b89
docs: update deployment guide title (#7381) 2020-06-26 09:26:27 -04:00
Ali 6ca679d182
docs: updated docs on Vault TLS settings (#7097)
Co-authored-by: Ali Ibrahim <ibrahimalihc@users.noreply.github.com>
2020-06-26 09:18:04 -04:00
Ali 4e52527c27
docs: runtime interpolation for AWS (#7859)
Co-authored-by: Ali Ibrahim <ibrahimalihc@users.noreply.github.com>
2020-06-26 09:16:34 -04:00
Sam Gluck 95a231551d
docs: add link to golang api GoDoc webpage (#7174) 2020-06-26 09:14:49 -04:00
Michael Schurter d2a4e0557d docs: clarify healthy/progress_deadline relationship
Validation code already enforces this, but I think documenting it makes
it more immediately clear how the 2 settings interact.
2020-06-26 09:02:32 -04:00
Mahmood Ali ac066c4fc8
Merge pull request #8233 from bmenn/master
Fixes Nvidia plugin configuration docs (#7711)
2020-06-26 08:31:44 -04:00
James Rasell 9062a2d27e
Merge pull request #7752 from hashicorp/docs-update-datadog-agent-link
docs: update Datadog agent telemetry link to rewritten version.
2020-06-26 08:19:22 +02:00
Noel Quiles e3ad5bc2d3
Merge pull request #8254 from EnMod/nq.add-betterhelp-casestudy-quote
[Website] Add quote for CaseStudy carousel from BetterHelp
2020-06-25 14:16:45 -04:00
Lang Martin 717741a4cb
doc: nomad debug cli (#8278)
* doc: nomad debug cli

* CHANGELOG

* website/data/docs-navigation: add debug to navigation

* contributing/checklist-command: add website nav link to checklist
2020-06-25 13:48:27 -04:00
Tim Gross d1f3c40098
docs: spellcheck fix for multiregion (#8286) 2020-06-25 12:56:40 -04:00
Mahmood Ali 4f1df4af40
Merge pull request #8261 from hashicorp/f-disable-host-volume-by-default
Restrict Host filesystem access in Docker and Qemu
2020-06-25 07:51:13 -04:00
Mahmood Ali e66f849619 website: declare dotenv dependency 2020-06-24 15:22:30 -04:00
Kevin Pruett 96ba670f7d
Merge pull request #8201 from pruett/pruett.algolia-index-ci
Stub Algolia indexing job via CI
2020-06-24 12:17:47 -04:00
Tim Gross 13776cc9dc
docs: fix broken link in server config (#8267)
* missing the trailing `)`
* consistency with the code span
* minor grammar fix ("is" to "are")
2020-06-24 11:53:19 -04:00
Seth Hoenig 3872b493e5
Merge pull request #8011 from hashicorp/f-cnative-host
consul/connect: implement initial support for connect native
2020-06-24 10:33:12 -05:00
Seth Hoenig 011c6b027f connect/native: doc and comment tweaks from PR 2020-06-24 10:13:22 -05:00
Mahmood Ali 2d64a404e6 docs: update docs for host path flags 2020-06-24 08:03:56 -04:00
James Rasell 1530cd58d0
docs: fix license command index page formatting. 2020-06-24 08:16:41 +02:00
Kevin Pruett 81c6c7d65f
Utilize Next.js env variable conventions 2020-06-23 22:40:37 -04:00
Kevin Pruett 04f2e673ba
Setup Algolia indexing job in CI 2020-06-23 22:40:17 -04:00
Kevin Pruett 97ddb74a6c
Merge pull request #8092 from hashicorp/je.website-maintenance-6-1-20
🌷 Website Maintenance
2020-06-23 18:14:36 -04:00
Jeff Escalante 6a1e059ff4
Dependency updates and improvements 2020-06-23 17:43:43 -04:00
Tim Gross 010d94d419
multiregion: job stop across regions with -global flag (#8258)
Adds a `-global` flag for stopping multiregion jobs in all regions at
once. Warn the user if they attempt to stop a multiregion job in a single
region.
2020-06-23 15:56:04 -04:00
Seth Hoenig 6c5ab7f45e consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
Noel Quiles ed862e9cec
Add quote for CaseStudy carousel from BetterHelp 2020-06-23 11:18:31 -04:00
Alexandra Freeman 8918408967 Update index.jsx
Per Slack conversation on April 30 with Schmichael and Gale. Aligning navigation verbiage with other .io sites (Community instead of Resources). Page updates remove Gitter and Mailing List links to direct users to the Forum. Also changed some header content and positioning. If this all doesn't work based on full content of page, happy to brainstorm a better approach. Thank you for reviewing!
2020-06-23 08:47:06 -04:00
Mahmood Ali d30a7c3e37
Merge pull request #8031 from BijanJohn/reschedule_delay_requirement
add notes about delay requirement for reschedule
2020-06-23 08:39:03 -04:00
Richard Kettelerij 01fc6e9525
Add missing CLI flag to Nomad snapshot example 2020-06-22 21:52:33 +02:00
Seth Hoenig 4d71f22a11 consul/connect: add support for running connect native tasks
This PR adds the capability of running Connect Native Tasks on Nomad,
particularly when TLS and ACLs are enabled on Consul.

The `connect` stanza now includes a `native` parameter, which can be
set to the name of task that backs the Connect Native Consul service.

There is a new Client configuration parameter for the `consul` stanza
called `share_ssl`. Like `allow_unauthenticated` the default value is
true, but recommended to be disabled in production environments. When
enabled, the Nomad Client's Consul TLS information is shared with
Connect Native tasks through the normal Consul environment variables.
This does NOT include auth or token information.

If Consul ACLs are enabled, Service Identity Tokens are automatically
and injected into the Connect Native task through the CONSUL_HTTP_TOKEN
environment variable.

Any of the automatically set environment variables can be overridden by
the Connect Native task using the `env` stanza.

Fixes #6083
2020-06-22 14:07:44 -05:00
Mahmood Ali ad9d959d45
Merge pull request #8241 from hashicorp/docs-agent-unresponsive-note
Docs: note agent unresponsive
2020-06-22 12:08:04 -04:00
Mahmood Ali 9669446b56 docs: note 0.11.3 fixes a critical issue 2020-06-22 12:02:01 -04:00
Kevin Pruett 7043e4227e
Update banner contents 2020-06-22 11:20:06 -04:00
Chris Baker 0f04e3a7ab reverted current version back to 0.11.3 2020-06-22 13:09:42 +00:00
Chris Baker 39ad962f64 added download link for 0.12.0-beta1 2020-06-22 12:54:09 +00:00
Bryant Menn f2958b534c docs: fixes Nvidia plugin configuration docs (#7711) 2020-06-21 20:48:35 -04:00
Yishan Lin c249ec267f Added missing HashiTalk from Dingo 2020-06-19 22:32:42 -07:00
Yishan Lin edfa6dea10 Fixed opening sentence typo 2020-06-19 22:29:27 -07:00
Yishan Lin 6b67deca6d Updated Nomad Resources Page
- Changed boilerplate intro copy to match messaging in approved 0.12 announcement copy launching next Monday
- Added Virtual Talks section with each of their Youtube links and year timestamps from this year
- Updated the Who Uses Nomad section in alignment with Nomad GitHub READDME in ordering
- Added new customer talks such as Cloudflare and yearly timestamps to each of them
- Removed outdated Community Tools and Integrations section
2020-06-19 20:13:00 -07:00
Mahmood Ali bf08b7a890
Merge pull request #8214 from hashicorp/docs-snapshot-update
Update changelog and snapshot docs
2020-06-19 14:27:12 -04:00
Kevin Pruett aaa9151151
Fixup additionalComponents within MDXProvider 2020-06-19 14:22:47 -04:00
Mahmood Ali 06df97b3cd add snapshot subcommands to sidenav 2020-06-19 14:11:48 -04:00
Kevin Pruett 86e8a2044b
Add custom MDXProvider to /docs pages 2020-06-19 13:57:14 -04:00
Dave May b2348a34ae
add redirects for upgrade and vault pki guides (#7863) 2020-06-19 13:54:23 -04:00
Mahmood Ali fe8f5d2f95 docs: snapshot agent command 2020-06-19 12:53:22 -04:00
Mahmood Ali 2c89280fa9 Update docs for snapshot CLI 2020-06-19 12:31:40 -04:00
Mahmood Ali c469afde93 document snapshot api endpoints 2020-06-19 10:37:00 -04:00
Mahmood Ali 963b1251ff
Merge pull request #8082 from hashicorp/f-raft-multipler
Implement raft multipler flag
2020-06-19 10:04:59 -04:00
Tim Gross 2e2d9ad5ae
docs: fix for multiregion count explanation (#8202) 2020-06-19 07:52:58 -04:00
Luiz Aoqui ee204746bc
Merge pull request #8206 from hashicorp/docs-fix-license-api
docs: update operator license API
2020-06-18 21:24:13 -04:00
Luiz Aoqui 2f2527efd8
docs: update operator license API 2020-06-18 20:17:45 -04:00
Mahmood Ali 38a01c050e
Merge pull request #8192 from hashicorp/f-status-allnamespaces-2
CLI Allow querying all namespaces for jobs and allocations - Try 2
2020-06-18 20:16:52 -04:00
Michael Schurter 31f36620db docs: finally document the 0.9 port_map break 2020-06-18 14:56:47 -07:00
Nick Ethier 0bc0403cc3 Task DNS Options (#7661)
Co-Authored-By: Tim Gross <tgross@hashicorp.com>
Co-Authored-By: Seth Hoenig <shoenig@hashicorp.com>
2020-06-18 11:01:31 -07:00
Charlie Jones e369e76643
Fix typo in link to Cloud Auto-join section (#8116) 2020-06-18 10:21:31 -04:00
Tim Gross 63ae10f0d0
docs: multiregion deployment feature (#8185) 2020-06-18 08:41:22 -04:00
Mahmood Ali 4f1ca98db6 docs: elaborate on raft_multipler default 2020-06-18 08:04:22 -04:00
Mahmood Ali e784fe331a use '*' to indicate all namespaces
This reverts the introduction of AllNamespaces parameter that was merged
earlier but never got released.
2020-06-17 16:27:43 -04:00
Chris Baker 1d40ab23b7 docs: updated website to this change 2020-06-17 17:44:58 +00:00
Chris Baker de8a46b0f8 added -preserve-counts to `job run` CLI, updated website 2020-06-16 18:45:28 +00:00
Seth Hoenig 006dca2418 docs: update cronexpr github link 2020-06-15 08:48:32 -05:00
Mike Wickett b76c9592e6
Merge pull request #8152 from hashicorp/mw.add-cloudflare-quote-card
website: add cloudflare testimonial
2020-06-12 12:32:01 -04:00
Frederic Hemberger 55909c7c91
[docs/docker driver] fix username in example
> If you do not run Nomad as root, make sure you add the Nomad user to the Docker group so Nomad can communicate with the Docker daemon.

Changing the username in the example from `vagrant` to `nomad`. Vagrant isn't addressed in the entire document, so I guess that this was a mistake.
2020-06-11 12:29:43 +02:00
Mike Wickett 58ed3c0306 website: add cloudflare testimonial 2020-06-10 20:53:05 -04:00
Yishan Lin d5bb5fba09 Updated Nomad README + Who Uses Nomad pages
- Guides now point to HashiCorp Learn, rather than old website
- Condensed the documentation & guides section for brevity
- Updated "Who Uses Nomad" page and section in README with new names collected from past 6 months
- Added yearly publication dates to each of the public talks
2020-06-05 13:27:26 -07:00
Shishir Mahajan ee616f6f91
Fix review comments. 2020-06-01 19:15:01 -07:00
Shishir Mahajan e9136e0044 Fix go-lint issue. 2020-06-01 18:54:58 -07:00
Dustin Taylor 166793e9f6 Descriptions 2020-06-01 18:54:58 -07:00
Shishir Mahajan 3207e224ff Fix review comments. 2020-06-01 18:54:58 -07:00
Shishir Mahajan 4ea7cec5cd Fixed missing comma. 2020-06-01 18:54:58 -07:00
Shishir Mahajan 7cc40906fc Add nomad-driver-iis to nomad UI docs. 2020-06-01 18:54:58 -07:00
Seth Hoenig 4bfa0548d9
Merge pull request #8087 from hashicorp/f-docker-mem-config
driver/docker: enable setting hard/soft memory limits
2020-06-01 12:16:55 -05:00
Seth Hoenig bf78912642 docs: reference kernel documentation regarding soft memory limit activation 2020-06-01 11:16:11 -05:00
Seth Hoenig a5fb9b1811
docs: use correct url path for doc string
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-06-01 10:52:36 -05:00
Drew Bailey 34c3a8674a
Docs/license (#8076)
* license cli documentation

license docs

backout doc change

more docs

* license api endpoint documentation
2020-06-01 10:55:03 -04:00
Seth Hoenig d10a018283 docs: update docs & changelog for docker driver memory_hard_limit configuration 2020-06-01 09:24:49 -05:00
Mahmood Ali a73cd01a00
Merge pull request #8001 from hashicorp/f-jobs-list-across-nses
endpoint to expose all jobs across all namespaces
2020-05-31 21:28:03 -04:00
Mahmood Ali d9e24d1d85 document raft_multiplier 2020-05-31 12:24:44 -04:00
changli0617 2a841f2a8d
Update alert-banner.js 2020-05-29 10:09:43 -07:00
Nicolas Decoster 59fa7681ba
docs: fix typo in eligibility command doc 2020-05-29 15:14:59 +02:00
Seth Hoenig ec9fd328b1 docs: update CNI version in setup docs
Update reference to CNI from version 0.8.4 to 0.8.6, which includes
bug fixes, new features, etc.

https://github.com/containernetworking/plugins/releases/tag/v0.8.6
2020-05-28 10:23:02 -05:00
Mahmood Ali 30cb844581 docs: preemption is no longer an Enterprise feature 2020-05-27 15:05:52 -04:00
Jimmy Merritello 4d190d9ad2
Add Carousel Item 2020-05-26 11:39:26 -05:00
G cb07ba7b64
docs: static port incorrectly declared as a string (#8046)
static attribute of the port stanza is supposed to be an integer but is incorrectly declared as a string in the example.
2020-05-26 08:51:16 -04:00
Tim Gross ec3531cdac
docs: add missing fields to driver Capabilities (#8037)
Adds `NetIsolationModes`, `MustInitiateNetwork`, and `MountConfigs` fields to
the driver `Capabilities` internals documentation.
2020-05-21 13:56:40 -04:00
BijanJohn d2a0d0d0cc add notes about delay requirement for reschedule 2020-05-20 11:57:12 -05:00
Tim Gross 4b4bf84d79
docs: notice to operators about script check timeouts (#8015)
The tasklet passes the timeout for the script check into the task
driver's `Exec`, and its up to the task driver to enforce that via a
golang `context.WithDeadline`. In practice, this deadline is started
before the task driver starts setting up the execution
environment (because we need it to do things like timeout Docker API
calls).

Under even moderate load, the time it takes to set up the execution
context for the script check regularly exceeds a full second or
two. This can cause script checks to unexpected timeout or even never
execute if the context expires before the task driver ever gets a
chance to `execve`.

This changeset adds a notice to operators about setting script check
timeouts with plenty of padding and what to monitor for problems.
2020-05-20 10:28:14 -04:00
James Rasell 779d58397a
Merge pull request #8007 from hashicorp/volumes-docs-csi-put-blocking
docs: update CSI PUT operation blocking query support yes->no.
2020-05-20 09:38:38 +02:00
Shantanu Gadgil d5fc981636
Merge branch 'master' into patch-3 2020-05-20 00:16:43 +05:30
Charlie Voiselle 31c71767ec
Merge pull request #7870 from hashicorp/d-fix-version-typo
[docs] Fix version typo
2020-05-19 14:09:53 -04:00
Charlie Voiselle e63346560c
Interlinking API, FAQ, and Config
Creating a FAQ question to provide a home for additional context around
bootstrapping. Linking from API page to `default_server_config`
attribute. Added sample API response to to discuss "Updated: false"
2020-05-19 13:51:47 -04:00
Mahmood Ali 42d5a4136d docs: update snippet to include summary namespace 2020-05-19 10:06:53 -04:00
Charlie Voiselle 15d6f0e80e
Adding info about bootstrap 2020-05-19 09:14:17 -04:00
James Rasell 7bd35dd11c
docs: update CSI PUT operation blocking query support yes->no. 2020-05-19 08:42:48 +02:00
Jeff Escalante 636f174f48
fix shell-session snippet error 2020-05-18 16:53:06 -04:00
Mahmood Ali 5ab2d52e27 endpoint to expose all jobs across all namespaces
Allow a `/v1/jobs?all_namespaces=true` to list all jobs across all
namespaces.  The returned list is to contain a `Namespace` field
indicating the job namespace.

If ACL is enabled, the request token needs to be a management token or
have `namespace:list-jobs` capability on all existing namespaces.
2020-05-18 13:50:46 -04:00
Charlie Voiselle 2dd34efacc
Alternative treatment
A variation of the treatment that surfaces "spread scheduling" in the example while referring to the API docs as canonical for this setting.
2020-05-18 09:51:16 -04:00
Shantanu Gadgil 32046d6f18
Update server.mdx 2020-05-18 17:54:27 +05:30
Shantanu Gadgil fb4c070aae
update docs to mention spread algorithm
update docs to mention spread algorithm
2020-05-18 11:38:52 +05:30
Chris Baker 10ab0ef9b5 docs: server configuration metadata was missing a dash, causing problems
rendering that page
2020-05-17 15:07:46 +00:00
tcassaert feba5384ff
Command was missing due to missing end of line 2020-05-16 12:49:18 +02:00
Mahmood Ali be6cc94346
fix grammar in DST upgrade snippet (#7985) 2020-05-15 15:59:56 -04:00
Tim Gross 2082cf738a
csi: support for VolumeContext and VolumeParameters (#7957)
The MVP for CSI in the 0.11.0 release of Nomad did not include support
for opaque volume parameters or volume context. This changeset adds
support for both.

This also moves args for ControllerValidateCapabilities into a struct.
The CSI plugin `ControllerValidateCapabilities` struct that we turn
into a CSI RPC is accumulating arguments, so moving it into a request
struct will reduce the churn of this internal API, make the plugin
code more readable, and make this method consistent with the other
plugin methods in that package.
2020-05-15 08:16:01 -04:00
Chris Baker d44097c988 update website current version to 0.11.2 2020-05-14 22:03:43 +00:00
Jeff Escalante e9076f6fcd final deps update, fix some anchor link aliases 2020-05-14 14:10:52 -04:00
Jeff Escalante cd81911e17 update dependencies, upgrade structure for latest nextjs-scripts, implement custom 404 page 2020-05-14 14:10:52 -04:00
Chris Baker 61abbf8d4c
Merge pull request #7950 from hashicorp/docs-dst
docs: clarify periodic dst behavior
2020-05-13 15:44:41 -05:00
Tim Gross 7249e56fce
docs for `stop_on_client_disconnect` stanza (#7938) 2020-05-13 16:39:24 -04:00
Michael Schurter f9067fe03c docs: clarify periodic dst behavior 2020-05-13 13:24:35 -07:00
Mahmood Ali c2e80386f0 document daylight saving change 2020-05-13 08:21:19 -04:00
Jeff Escalante 25810fe526 fix formatting error on preemption docs page 2020-05-12 14:08:55 -04:00
Jose Diaz-Gonzalez 0b9c1db330
Update website/pages/docs/internals/scheduling/preemption.mdx
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-05-12 13:21:15 -04:00
Jose Diaz-Gonzalez de5b5a071d
docs: add note that only system job preemption is available in OSS 2020-05-12 13:02:13 -04:00
Mahmood Ali 04a3cfbeff
Merge pull request #7932 from hashicorp/f-docker-custom-runtimes
Docker runtimes
2020-05-12 11:59:36 -04:00
Mahmood Ali 130d8d36e7 update docs 2020-05-12 11:07:12 -04:00
Mahmood Ali 54565e3836
Apply suggestions from code review
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-05-12 10:56:47 -04:00
Tim Gross 4374c1a837
csi: support Secrets parameter in CSI RPCs (#7923)
CSI plugins can require credentials for some publishing and
unpublishing workflow RPCs. Secrets are configured at the time of
volume registration, stored in the volume struct, and then passed
around as an opaque map by Nomad to the plugins.
2020-05-11 17:12:51 -04:00
Mahmood Ali 061a439f2c
Merge pull request #7912 from hashicorp/f-scheduler-algorithm-followup
Scheduler Algorithm Defaults handling and docs
2020-05-11 09:30:58 -04:00
Tim Gross 3aa761b151
Periodic GC for volume claims (#7881)
This changeset implements a periodic garbage collection of CSI volumes
with missing allocations. This can happen in a scenario where a node
update fails partially and the allocation updates are written to raft
but the evaluations to GC the volumes are dropped. This feature will
cover this edge case and ensure that upgrades from 0.11.0 and 0.11.1
get any stray claims cleaned up.
2020-05-11 08:20:50 -04:00
Mahmood Ali cb39226332 Document scheduler algorithm 2020-05-09 12:12:38 -04:00
Seth Hoenig 0235b23709
Merge pull request #7891 from hashicorp/docs-improve-connect-examples
docs: improve some connect examples
2020-05-08 09:50:31 -06:00
Tim Gross 298f67dca3
volume_mount doc tweak (#7900) 2020-05-08 11:14:16 -04:00
Seth Hoenig b28a26bfe3 docs: replace use of test/test with runnable examples
A few connect examples reference a fake 'test/test' image.
By replacing those with `hashicorpnomad/counter-api` we can
turn them into runnable examples.
2020-05-07 14:16:27 -06:00
Seth Hoenig b4c56293fe docs: fix misspelling of countdash example 2020-05-07 14:00:00 -06:00
Seth Hoenig 20d7a76d2c docs: mention Connect ACLs guide in jobspec connect docs
Promote the Connect ACLs guide on the jobspec connect stanza docs
page. This was suggested in a ticket after someone got stuck not
realizing they needed to enable Consul Intentions for their connect
enabled services, which is covered in the guide.
2020-05-07 13:53:22 -06:00
Seth Hoenig 2de039d570 docs: update examples for connect jobspec docs
Replace the existing top example with something that is directly
runnable on a `-dev-connect` nomad setup.

Add the _complete_ `countdash` example at the bottom in the
examples section, so that people do not need to go guide-hunting
to find a complete example. The hope is people will see more
runnable examples and be less afraid of connect.
2020-05-07 13:45:13 -06:00
Seth Hoenig b82e75c347 docs: improve connect expose path examples
This change replaces the top example for expose path configuration with
two new runnable examples. Users should be able to copy and paste those
jobs into a job file and run them against a basic connect enabled nomad
setup.

The example presented first demonstrates use of the service check expose
parameter with no dynamic port explicitly defined (new to 0.11.2).
This is expected to be the "90%" use case of users, and so we should
try to emphasise this pattern as best practice.

The example presented second demonstrates achieving the same goal as the
first exmaple, but utilizing the full plumbing available through the
`connect.proxy.expose` stanza. This should help readers comprehend what
is happening "under the hood".
2020-05-07 11:03:37 -06:00
Tim Gross 801ebcfe8d
periodic GC for CSI plugins (#7878)
This changeset implements a periodic garbage collection of unused CSI
plugins. Plugins are self-cleaning when the last allocation for a
plugin is stopped, but this feature will cover any missing edge cases
and ensure that upgrades from 0.11.0 and 0.11.1 get any stray plugins
cleaned up.
2020-05-06 16:49:12 -04:00
Jeff Escalante d380784764 update to latest nextjs-scripts 2020-05-06 16:12:34 -04:00
Jeff Escalante c1ad6b0862 fix some highlighting issues 2020-05-06 16:12:34 -04:00
Jeff Escalante 00e5b12a09 update deps 2020-05-06 16:12:34 -04:00
Jeff Escalante 3f2b6a2ca4 switch themes 2020-05-06 16:12:34 -04:00
Jeff Escalante b579c4e255 initial stab at prism highlighting 2020-05-06 16:12:34 -04:00
Charlie Voiselle 7f9c0a1367
Fix version typo 2020-05-05 12:15:24 -04:00
Denis Palashevskiy 4095860116
Fix URL schema in `drain` documentation 2020-05-03 20:50:40 +04:00