Commit Graph

2213 Commits

Author SHA1 Message Date
Chris Baker
20a3884559 docs: -vault-namespace, VAULT_NAMESPACE, and config
agent: added VAULT_NAMESPACE env-based configuration
2019-04-10 10:34:10 -05:00
Chris Baker
1349497152 config/docs: added namespace to vault config
server/client: process `namespace` config, setting on the instantiated vault client
2019-04-10 10:34:10 -05:00
Michael Schurter
c479034f07 Update website/source/docs/commands/job/revert.html.md.erb
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Chris Baker
548d029ca5 docs: added vault token documentation to job revert command, documented VaultToken field of api.JobRevertRequest 2019-04-10 10:34:10 -05:00
Omar Khawaja
79132127b9 Nomad TLS with Vault (#5454)
* navigation and initial steps of guide

* generate certs with appropriate token

* configure Nomad to use TLS

* add cli keys and certs

* add server gossip encryption section

* fix mislabeled steps

* vault paths formatting

* remove bit about cert revocation

* add clarification in challenge that we will be securing an existing Nomad cluster

* add some comments to consul-template.hcl to help user walk through it

* clarifying comments for CLI certs templates

* reorganize steps, change permissions on certs, and sub pkill command with systemctl reload nomad

* correct step reference

* add rpc upgrade mode instructions

* correct typo
2019-04-09 12:13:37 -04:00
Michael Schurter
2382b48f8c website: remove RC note from download page 2019-04-09 09:12:07 -07:00
Preetha Appan
19e1368b03 Remove beta tags from 0.9 docs 2019-04-05 14:11:56 -05:00
Michael Schurter
010b9575db Bump download page to 0.9.0-rc2 2019-04-03 07:46:28 -07:00
Mahmood Ali
92af1caa28 document force_pull and :latest tag interaction 2019-04-02 08:48:34 -04:00
Preetha Appan
ba8c5c67e1 minor fixes to spread stanza documentation 2019-03-26 15:01:56 -05:00
Preetha Appan
613707b32c Update release candidate download link on website 2019-03-22 10:46:49 -05:00
Michael Schurter
74aca9a465 Merge pull request #5443 from hashicorp/f-systemd-fixes
docs: sync systemd unit files; update deploy guide
2019-03-20 10:40:53 -07:00
Michael Schurter
673a168b72 docs: remove partial sig/checksum verification
Point users to security doc instead. Right now it takes a lot of
explaining to describe to users exactly how to validate the binary and
what the output of the tools used means.

For example, this is the output when validating according to the
instructions in this guide and the linked doc:

```
vagrant@linux:/tmp$ gpg --verify nomad_0.8.7_SHA256SUMS.sig
nomad_0.8.7_SHA256SUMS
gpg: Signature made Fri 11 Jan 2019 09:47:56 PM UTC using RSA key ID
348FFC4C
gpg: Good signature from "HashiCorp Security <security@hashicorp.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the
owner.
Primary key fingerprint: 91A6 E7F8 5D05 C656 30BE  F189 5185 2D87 348F
FC4C
vagrant@linux:/tmp$ shasum -a 256 -c nomad_0.8.7_SHA256SUMS
shasum: ./nomad_0.8.7_darwin_amd64.zip:
./nomad_0.8.7_darwin_amd64.zip: FAILED open or read
shasum: ./nomad_0.8.7_linux_386.zip: No such file or directory
./nomad_0.8.7_linux_386.zip: FAILED open or read
shasum: ./nomad_0.8.7_linux_amd64-lxc.zip: No such file or directory
./nomad_0.8.7_linux_amd64-lxc.zip: FAILED open or read
./nomad_0.8.7_linux_amd64.zip: OK
shasum: ./nomad_0.8.7_linux_arm64.zip: No such file or directory
./nomad_0.8.7_linux_arm64.zip: FAILED open or read
shasum: ./nomad_0.8.7_linux_arm.zip: No such file or directory
./nomad_0.8.7_linux_arm.zip: FAILED open or read
shasum: ./nomad_0.8.7_windows_386.zip: No such file or directory
./nomad_0.8.7_windows_386.zip: FAILED open or read
shasum: ./nomad_0.8.7_windows_amd64.zip: No such file or directory
./nomad_0.8.7_windows_amd64.zip: FAILED open or read
shasum: WARNING: 7 listed files could not be read
```

There are only two lines that matter in all of that output:

```
...
gpg: Good signature from "HashiCorp Security <security@hashicorp.com>"
...
./nomad_0.8.7_linux_amd64.zip: OK
...
```

I feel like trying to teach users how to use and interpret these tools
in our deployment guide may be as likely to reduce confidence as
increase it.
2019-03-20 09:36:29 -07:00
Mahmood Ali
b1ce0d8204 doc: fix tls_cipher_suites type (#5441)
tls_cipher_suites only accept a comma-separated string, as evident in:

0535dfd414/nomad/structs/config/tls.go (L61)
d37ed5c193/helper/tlsutil/config.go (L405)
2019-03-20 12:17:38 -04:00
Mahmood Ali
608f17e7c9 Don't use "datacenter" in a confusing way
Co-Authored-By: schmichael <michael.schurter@gmail.com>
2019-03-20 08:08:37 -07:00
Michael Schurter
475bcaafd6 docs: sync systemd unit files; update deploy guide
The systemd configs spread across our repo were fairly out of sync. This
should get them on our best practices.

The deployment guide also had some strange things like running Nomad as
a non-root user. It would be fine for servers but completely breaks
clients. For simplicity I simply removed the non-root user references.
2019-03-19 15:18:12 -07:00
Omar Khawaja
a1b9b32210 Portworx guide (#5399)
* skeleton

* configure portworx

* destroy and redeploy mysql with data intact

* rename all directories and references from persistent storage to stateful workloads

* add considerations and remove references to StorageOS

* update wording and headings

* create portworx volume externally and modify jobfile to reflect that

* fix typo

* Update website/source/guides/stateful-workloads/portworx.html.md

Co-Authored-By: Omar-Khawaja <Omar-Khawaja@users.noreply.github.com>

* Update website/source/guides/stateful-workloads/portworx.html.md

Co-Authored-By: Omar-Khawaja <Omar-Khawaja@users.noreply.github.com>
2019-03-15 11:33:46 -04:00
Chris Baker
783c49b34b Merge pull request #5373 from hashicorp/docs-artifact-stanza
artifact stanza documentation
2019-03-11 14:09:28 -04:00
Charlie Voiselle
e7bd312580 Merge pull request #5401 from hashicorp/doc-rkt-needs-root
Note rkt driver needs Nomad client run as root
2019-03-11 10:29:45 -04:00
Mahmood Ali
9410768aa7 fix typo 2019-03-06 20:24:01 -05:00
Charlie Voiselle
1edb20fd5c Note rkt driver needs Nomad client run as root
The rkt driver requires that the Nomad agent to be running as the root user
2019-03-06 19:53:51 -05:00
Charlie Voiselle
d75cf587ef Tweaked deprecation wording for legacy config (#5394)
Made small adjustment to make it clear that 0.8.7 would require the legacy syntax and that the deprecation notice was more about the legacy syntax becoming unsupported at some point after v0.9.0
2019-03-06 11:07:54 -05:00
Yishan Lin
e2b3d86e8a Add missing period to sentence. 2019-03-05 12:38:36 -08:00
Chris Baker
2d25f24d99 artifact docs: modified the leading example and removed a treacherous (but potentially correct) example 2019-02-28 21:48:01 +00:00
Omar Khawaja
982e73f545 update formatting and add toJSON function with explanation (#5366)
* update formatting and add toJSON function with explanation

* edit typo

* Update website/source/guides/operations/vault-integration/index.html.md

Co-Authored-By: Omar-Khawaja <Omar-Khawaja@users.noreply.github.com>

* fixing clarification bullet explaining the use of toJSON
2019-02-28 13:00:25 -05:00
Mahmood Ali
1d22a0b309 docs: Update beta release link to 0.9.0-beta3 (#5365) 2019-02-27 09:49:36 -05:00
Omar Khawaja
cc328c73bf reformat lxc guide (#5339)
* reformat lxc guide

* reformat lxc guide
2019-02-21 17:40:22 -05:00
Michael Schurter
26cb9b3713 docs: clarify use of toJSON for passwords
Fixes #5347
2019-02-21 09:47:18 -08:00
Omar Khawaja
e128f5b4da adding dropdown nav to external plugins section (#5338) 2019-02-19 17:00:03 -05:00
Charlie Voiselle
427ab71b47 Warn that data_dir can't be in the jail (#4618) 2019-02-18 20:40:45 -05:00
Mahmood Ali
196d0374b7 Fix device.attr typo (#5331)
Fix https://github.com/hashicorp/nomad/issues/5315
2019-02-16 13:07:02 -05:00
Preetha
09659b87ce Merge pull request #5287 from hashicorp/docs-fix-affinity-examples
docs: fixed some affinity examples
2019-02-12 09:13:27 -06:00
Chris Baker
075635bafc restored previous example (it was correct) 2019-02-06 19:13:40 +00:00
Omar Khawaja
dd22f8aabf add some cross-linking for easier reference (#5292) 2019-02-01 13:12:18 -05:00
Matthias Endler
bb64d74f3a Fix typo in "discovery" 2019-02-01 14:24:02 +01:00
Chris Baker
edcee2d3bb fixed typo in vault integration documentation 2019-01-31 16:00:54 +00:00
Chris Baker
fc994b2268 fixed some affinity examples 2019-01-31 15:15:00 +00:00
Omar Khawaja
b8d96a4db7 fix typo 2019-01-30 17:48:08 -05:00
Mahmood Ali
32009fb577 website: update lxc references to 0.1.0-rc2 (#5283) 2019-01-30 17:05:44 -05:00
Michael Schurter
101e41b4de Bump to Nomad 0.8.7 and mention 0.9 beta 2019-01-30 13:50:44 -08:00
Alex Dadgar
0de7939fb1 Merge pull request #5281 from hashicorp/f-affinity-weight-int
Change types of weights on spread/affinity
2019-01-30 13:25:56 -08:00
Nick Ethier
190c9ae352 website/resources: add recent videos/blogs to resources 2019-01-30 15:44:39 -05:00
Alex Dadgar
bc42873e07 Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
Preetha
23b892a8cd Merge pull request #5273 from hashicorp/dani/nvidia-affinity
docs: Update affinity stanza in device
2019-01-30 10:51:21 -06:00
Michael Schurter
b283ca729c Merge pull request #5263 from hashicorp/d-upgrade-09
docs: add 0.9 specific upgrade notes
2019-01-30 08:07:29 -08:00
Mahmood Ali
541cddd3e2 docs: fix job json example (#5274)
The internal needs to be long enough to accomodate the attempts.

Also, clarify that the input should be a json file rather than an hcl
`.nomad` one.
2019-01-30 10:33:10 -05:00
Preetha Appan
11d1af8913 Add link to preemption from schedulers page 2019-01-30 09:24:18 -06:00
Danielle Tomlinson
94aff6ad76 docs: Update affinity stanza in device 2019-01-30 14:23:03 +01:00
Michael Schurter
68fd76bfc2 docs: add 0.9 specific upgrade notes 2019-01-29 15:18:15 -08:00
Alex Dadgar
bb514cfa39 fix lxc sidebar 2019-01-29 15:03:02 -08:00