Commit Graph

3477 Commits

Author SHA1 Message Date
Michael Schurter dc5d16bd9e
Merge pull request #9135 from hashicorp/f-namespaces
core: open source namespaces
2020-10-23 10:23:55 -07:00
Kevin Pruett 4439d8fa0b
Document new `expirationDate` prop for AlertBanner 2020-10-23 10:52:11 -04:00
Stefan Richter 484ef8a1e8
Add NOMAD_JOB_ID and NOMAD_JOB_PAERENT_ID env variables (#8967)
Beforehand tasks and field replacements did not have access to the
unique ID of their job or its parent. This adds this information as
new environment variables.
2020-10-23 10:49:58 -04:00
Tim Gross 10b6551065
docs: add regression warning for GH-9148 to upgrade guide (#9157)
* docs: add regression warning for GH-9148 to upgrade guide
* changelog entry
2020-10-23 10:05:56 -04:00
James Rasell b9a0d49cb2
docs: add new job scale and scaling-events CLI website docs. 2020-10-23 09:30:04 +02:00
Michael Schurter 2c78d6cb5d docs: namespaces are oss in Nomad 1.0 2020-10-22 15:26:32 -07:00
Drew Bailey f3dcefe5a9
remove event durability (#9147)
* remove event durability

temporarily removing go-memdb event durability until a new strategy is developed on how to best handled increased durability needs

* drop events table schema and state store methods

* fix neweventbuffer invocations
2020-10-22 12:21:03 -04:00
davidr912 3319269964
Update job/plan documentation (#9145)
Updated to reflect plan expects the job definition as JSON object and not as the string form of the JSON
2020-10-22 10:17:47 -04:00
Tim Gross 7eeb46fb5d bump website version to 0.12.6 2020-10-21 14:34:12 -04:00
Tim Gross 70c9faabd2 upgrade guide documentation 2020-10-21 14:34:12 -04:00
José Maia 186d85fd34
Remove limitation that has been fixed
Issue #6459 has been fixed for a while, but the docs still point to it as a limitation
2020-10-20 15:32:41 +01:00
Tim Gross 17e14b79ac
docs: clarify task working directories (#9098)
The terms task directory and allocation directory are used throughout the
documentation but these directories are not the same as the `NOMAD_TASK_DIR`
and `NOMAD_ALLOC_DIR` locations. This is confusing when trying to use the
`template` and `artifact` stanzas, especially when trying to use a destination
outside the Nomad-mounted directories for Docker and similar drivers.

This changeset introduces "allocation working directory" to mean the location
on disk where the various directories and artifacts are staged, and "task
working directory" for the task. Clarify how specific task drivers interact
with the task working directory.

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
2020-10-16 12:56:09 -04:00
Tim Gross da75edc42f
Update website/pages/docs/drivers/external/lxc.mdx
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
2020-10-16 12:55:45 -04:00
Tim Gross ced132199d improve language for LXC volumes 2020-10-16 11:40:06 -04:00
Tim Gross fbf98543f2 clarify raw_exec doesn't have filesystem isolation 2020-10-16 11:38:23 -04:00
Drew Bailey ea6fcf5f4e
Events/docs (#9100)
* /v1/event/stream docs

* events sidebar

* wip server config

* make ids match

* fix typo

* add server config opts

* Update website/pages/api-docs/events.mdx

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

* Update website/pages/api-docs/events.mdx

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

* address feedback

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-10-16 11:23:47 -04:00
Tim Gross 8fb55a2148 Apply suggestions from code review
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
2020-10-16 11:02:49 -04:00
Tim Gross a3561a3d96 fix anchor links 2020-10-16 11:02:49 -04:00
Tim Gross 5c4fdd006c docs: clarify task working directories
The terms task directory and allocation directory are used throughout the
documentation but these directories are not the same as the `NOMAD_TASK_DIR`
and `NOMAD_ALLOC_DIR` locations. This is confusing when trying to use the
`template` and `artifact` stanzas, especially when trying to use a destination
outside the Nomad-mounted directories for Docker and similar drivers.

This changeset introduces "allocation working directory" to mean the location
on disk where the various directories and artifacts are staged, and "task
working directory" for the task. Clarify how specific task drivers interact
with the task working directory.
2020-10-16 11:02:49 -04:00
Sahil e83b4d470e
Remove Nomad-spark reference from use-cases.mdx
Removed ref to [Spark](https://github.com/hashicorp/nomad-spark) based on 
2c6092a2a6
2020-10-16 05:41:49 -04:00
Mike Wickett 175dbaf380
Set env var (#9103) 2020-10-15 16:13:49 -04:00
Nick Ethier 4903e5b114
Consul with CNI and host_network addresses (#9095)
* consul: advertise cni and multi host interface addresses

* structs: add service/check address_mode validation

* ar/groupservices: fetch networkstatus at hook runtime

* ar/groupservice: nil check network status getter before calling

* consul: comment network status can be nil
2020-10-15 15:32:21 -04:00
Jimmy Merritello 11580c518d
Update HSM version w/ waypoint (#9102) 2020-10-15 11:59:15 -05:00
Michael Schurter ea55c497b7
Merge pull request #9094 from hashicorp/f-1.0
s/0.13/1.0/g
2020-10-15 08:53:33 -07:00
James Rasell 3afce2e860
Merge pull request #9084 from hashicorp/f-gh-9083-docs
docs: update website and changelog for GH-9083
2020-10-15 08:41:05 +02:00
Michael Schurter 9c3972937b s/0.13/1.0/g
1.0 here we come!
2020-10-14 15:17:47 -07:00
Michael Schurter dd09fa1a4a
Merge pull request #9055 from hashicorp/f-9017-resources
api: add field filters to /v1/{allocations,nodes}
2020-10-14 14:49:39 -07:00
Jimmy Merritello 59bbd905a3
[Website] Bump HSM version (#9090)
* Bump HSM version on website

* Updated pkg
2020-10-14 13:15:48 -05:00
Michael Schurter 7c3029b5e6 docs: document #9055 2020-10-14 10:41:32 -07:00
James Rasell 6f6693aa7f
docs: update configuration to detail ent difference. 2020-10-14 15:23:47 +02:00
Chris Baker 1d35578bed removed backwards-compatible/untagged metrics deprecated in 0.7 2020-10-13 20:18:39 +00:00
Seth Hoenig ed13e5723f consul/connect: dynamically select envoy sidecar at runtime
As newer versions of Consul are released, the minimum version of Envoy
it supports as a sidecar proxy also gets bumped. Starting with the upcoming
Consul v1.9.X series, Envoy v1.11.X will no longer be supported. Current
versions of Nomad hardcode a version of Envoy v1.11.2 to be used as the
default implementation of Connect sidecar proxy.

This PR introduces a change such that each Nomad Client will query its
local Consul for a list of Envoy proxies that it supports (https://github.com/hashicorp/consul/pull/8545)
and then launch the Connect sidecar proxy task using the latest supported version
of Envoy. If the `SupportedProxies` API component is not available from
Consul, Nomad will fallback to the old version of Envoy supported by old
versions of Consul.

Setting the meta configuration option `meta.connect.sidecar_image` or
setting the `connect.sidecar_task` stanza will take precedence as is
the current behavior for sidecar proxies.

Setting the meta configuration option `meta.connect.gateway_image`
will take precedence as is the current behavior for connect gateways.

`meta.connect.sidecar_image` and `meta.connect.gateway_image` may make
use of the special `${NOMAD_envoy_version}` variable interpolation, which
resolves to the newest version of Envoy supported by the Consul agent.

Addresses #8585 #7665
2020-10-13 09:14:12 -05:00
Tim Gross 98a70d789e
docs: inclusive language configuration changes (#9069) 2020-10-13 08:02:29 -04:00
Seth Hoenig 5a3748ca82
Merge pull request #9038 from hashicorp/f-ec2-table
env_aws: get ec2 cpu perf data from AWS API
2020-10-12 18:55:33 -05:00
Lens0021 a7e481c623
docs: fix link in docker driver docs (#9066) 2020-10-12 08:17:07 -04:00
Jimmy Merritello abaac1d72f
[Website] Add new HashiStackMenu (#9042)
* Add new HashiStackMenu

* Bump version

* Bump HSM version and rm meganav styles
2020-10-09 10:39:08 -05:00
Tim Gross ecec432653
csi: allow for volume detach to work with gc'd nodes (#9057)
When we try to prefix match the `nomad volume detach` node ID argument, the
node may have been already GC'd. The volume unpublish workflow gracefully
handles this case so that we can free the claim. So make a best effort to find
a node ID among the volume's claimed allocations, or otherwise just use the
node ID we've been given by the user as-is.
2020-10-09 09:45:03 -04:00
Tim Gross 67817068e0
docs: show distinct_hosts constraint for CSI plugins (#9052)
CSI plugins with the same plugin ID and type (controller, node, monolith) will
collide on a host, both in the communication socket and in the dynamic plugin
registry. Until this can be fixed, leave notice to operators in the
documentation.
2020-10-08 16:55:55 -04:00
Seth Hoenig ccc52c9896 docs: fix linter typos in docs 2020-10-08 13:01:33 -05:00
Ryan Oaks 09048d834f
Merge pull request #9048 from hashicorp/ro.docs-html-redirect-catchall
docs: Update redirects to use a broader catch-all for routes ending in .html
2020-10-08 13:56:18 -04:00
Seth Hoenig e693d15a5b env_aws: get ec2 cpu perf data from AWS API
Previously, Nomad was using a hand-made lookup table for looking
up EC2 CPU performance characteristics (core count + speed = ticks).

This data was incomplete and incorrect depending on region. The AWS
API has the correct data but requires API keys to use (i.e. should not
be queried directly from Nomad).

This change introduces a lookup table generated by a small command line
tool in Nomad's tools module which uses the Amazon AWS API.

Running the tool requires AWS_* environment variables set.
  $ # in nomad/tools/cpuinfo
  $ go run .

Going forward, Nomad can incorporate regeneration of the lookup table
somewhere in the CI pipeline so that we remain up-to-date on the latest
offerings from EC2.

Fixes #7830
2020-10-08 12:01:09 -05:00
Tim Gross 29a5454894
csi: loosen ValidateVolumeCapability requirements (#9049)
The CSI specification for `ValidateVolumeCapability` says that we shall
"reconcile successful capability-validation responses by comparing the
validated capabilities with those that it had originally requested" but leaves
the details of that reconcilation unspecified. This API is not implemented in
Kubernetes, so controller plugins don't have a real-world implementation to
verify their behavior against.

We have found that CSI plugins in the wild may return "successful" but
incomplete `VolumeCapability` responses, so we can't require that all
capabilities we expect have been validated, only that the ones that have been
validated match. This appears to violate the CSI specification but until
that's been resolved in upstream we have to loosen our validation
requirements. The tradeoff is that we're more likely to have runtime errors
during `NodeStageVolume` instead of at the time of volume registration.
2020-10-08 12:53:24 -04:00
Ryan Oaks c03ec5f77b Update redirects to use a broader catch-all for routes ending in .html 2020-10-08 10:48:58 -04:00
Tim Gross 16913bf3a1
docs: CSI mount_options are available only for filesystem vols (#9043)
The CSI specification allows only the `file-system` attachment mode to have
mount options. The `block-device` mode is left "intentionally empty, for now"
in the protocol. We should be validating against this problem, but our
documentation also had it backwards.

Also adds missing mount_options on group volume.
2020-10-08 08:49:43 -04:00
Ryan Oaks 98bdb9ee2e Update docs site to deploy to Vercel instead of Netlify 2020-10-07 13:49:05 -04:00
Chris Baker 7f701fddd0 updated docs and validation to further prohibit null chars in region, datacenter, and job name 2020-10-05 18:01:50 +00:00
Chris Baker 23ea7cd27c updated job validate to refute job/group/task IDs containing null characters
updated CHANGELOG and upgrade guide
2020-10-05 18:01:49 +00:00
Seth Hoenig e48605809b
Merge pull request #9008 from luhhujbb/doc-portmap
[doc] fix deprecated port_map example
2020-10-05 12:25:53 -05:00
Ryan Oaks da3e4a9e71
Merge pull request #8991 from hashicorp/ro.docs-formatting
docs: Format docs website code and mdx
2020-10-05 10:31:40 -04:00
Kent 'picat' Gruber 5e1c716835
Merge pull request #8998 from hashicorp/keygen-32-bytes
Use 32-byte key for gossip encryption to enable AES-256
2020-10-02 17:17:55 -04:00
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