Commit Graph

291 Commits

Author SHA1 Message Date
Seth Hoenig
188a604ce3 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
b5ac626b54 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
9582787870 docs: fix escaping in job run env vars (#8944) 2020-09-22 14:32:29 -04:00
Ryan Oaks
1ef2666921 Update docs platform components 2020-09-22 12:08:57 -04:00
Kris Hicks
f3ae5682aa docs: fix typo 'thre' -> 'the' (#8937) 2020-09-21 11:52:45 -04:00
Luiz Aoqui
ea1204a3e4 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
57bd79e4da 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
7bcb12baaa docs: add missing double quote (#8806) 2020-09-17 09:16:30 -04:00
Mahmood Ali
040e76279f tweak the language about mbit scheduling factor 2020-09-17 08:35:38 -04:00
Mahmood Ali
c320e91407 Update website with network mbit deprecation 2020-09-16 11:06:35 -04:00
James Rasell
1b031b9ba7 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
0e647ff68a 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
dc3494c01f docs: Fix autoscaler datadog telemetry example 2020-09-15 14:02:58 +00:00
Tim Gross
d8d2b7ec97 docs: add chroot contents to Java driver docs (#8873) 2020-09-11 10:38:30 -04:00
Charlie Voiselle
d6f1e41736 Update copy on Production overview page 2020-09-10 21:12:43 -04:00
Charlie Voiselle
8730f4b12c Sunset local copy of Deployment Guide and Reference Architecture 2020-09-10 21:12:32 -04:00
James Rasell
98e51e023c docs: format Autopilot config stanza example. 2020-09-09 15:37:39 +02:00
James Rasell
f187ad1ff6 docs: add Nomad Autoscaler Datadog APM plugin details. (#8755) 2020-09-08 09:40:45 +02:00
James Rasell
eba2edf376 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
f284b0a153 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
286b26561c docs: update Autoscaler AWS target with new purge config option. 2020-09-07 10:45:41 +02:00
Shishir
4ba3afa44b nomad-driver-containerd: Update networking section (#8762) 2020-09-03 10:31:58 -04:00
Luiz Aoqui
9d7d9d8b4d 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
6c45ef1f39 docs: fix incorrect aws-asg autoscaler target plugin policy params 2020-09-02 14:03:35 +02:00
Luiz Aoqui
09709e84ce docs: add entry for volume_mount in task 2020-09-01 18:59:05 -04:00
Luiz Aoqui
27cb2c1562 docs: fix type for local_service_port 2020-09-01 18:38:01 -04:00
Mahmood Ali
f1f972ac15 docs: Fix group link in job spec docs 2020-08-31 20:36:57 -04:00
Ahmed
9d11b3273c update acl guide link 2020-08-29 21:29:49 +02:00
Seth Hoenig
a46ba7f4ac Merge branch 'master' into f-cc-ingress 2020-08-26 15:31:05 -05:00
Mahmood Ali
f733752f9e 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
443014469b Fix broken guide links + small authn/authz wording adjustments 2020-08-25 11:46:34 -04:00
Roger Berlind
72d2727dca 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
3b15b89b3c Merge pull request #8656 from JanMa/update-nspawn-docs
Update docs for nspawn driver
2020-08-23 21:24:56 -04:00
Seth Hoenig
9ffdeed904 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
2314e9970d docs: fix job run -detach example 2020-08-20 11:42:36 -04:00
Shishir Mahajan
3a69c68ceb Podman driver: Add support for signal task. 2020-08-19 17:25:52 -07:00
davemay99
8d2bd22db1 Change 'license set' to 'license put' to reflect correct syntax 2020-08-17 14:10:21 -04:00
Luiz Aoqui
581f283a8e docs: update allocation metrics 2020-08-14 14:16:38 -04:00
James Rasell
75f2732678 docs: update Docker driver to detail new image_pull_timeout params. 2020-08-14 09:40:24 +01:00
JanMa
6dbc3a29c7 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
71e8a68d99 add info about multi-vault namespaces (#8654)
* add info about multi-vault namespaces

* typo
2020-08-12 14:13:22 -04:00
James Rasell
ea769d0344 docs: fix incorrect Autoscaler policy block dir detail. 2020-08-12 11:37:59 +01:00
Nick Ethier
c11dbcd001 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
20b840eae8 docs: update connect integration limitations 2020-08-11 16:43:52 -05:00
Lang Martin
b5ef217c90 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
fbefdb98c3 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
55821da83b 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
a22a7caf71 consul: clarify consecutive checks in docs 2020-08-10 14:08:09 -05:00
Seth Hoenig
e664f9b69a 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
c08555247f 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