Commit Graph

3108 Commits

Author SHA1 Message Date
Seth Hoenig a35a64b6bd docs: update connect limitations (acls & checks now supported) 2020-04-13 09:51:17 -06:00
Seth Hoenig 6cfecc6d03 docs: fix link to envoy proxy documentation on consul site 2020-04-09 13:46:59 -06:00
Michael Schurter 65615768c2
Merge pull request #7658 from hashicorp/docs-0110
docs: update downloads+banner for 0.11.0 GA
2020-04-08 08:58:24 -07:00
Mahmood Ali 2ef4ce04bb
change tense
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-04-08 07:59:11 -04:00
Mahmood Ali fa4a6f7052 docs: move rkt to external drivers 2020-04-07 23:13:16 -04:00
Michael Schurter 5938115e30 docs: update downloads+banner for 0.11.0 GA 2020-04-07 15:14:22 -07:00
Michael Schurter e80b53c3d4
Merge pull request #7654 from hashicorp/docs-beta
docs: update changelog/upgrade for 0.11.0
2020-04-07 11:31:45 -07:00
Michael Schurter 34581070f8 docs: remove 0.11 from scaling docs
Keep beta label for now.
2020-04-07 11:22:13 -07:00
Michael Schurter 75018847ec docs: remove beta marker from lifecycle 2020-04-07 11:22:04 -07:00
Michael Schurter fa9bf43cad
Update website/pages/docs/upgrade/upgrade-specific.mdx
Co-Authored-By: Buck Doyle <buck@hashicorp.com>
2020-04-07 11:08:40 -07:00
Michael Schurter a338597ec1 docs: update changelog/upgrade for 0.11.0 2020-04-07 10:32:23 -07:00
dependabot[bot] 7e6a05370f
build(deps): bump next from 9.3.1 to 9.3.2 in /website (#7571)
Bumps [next](https://github.com/zeit/next.js) from 9.3.1 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases)
- [Commits](https://github.com/zeit/next.js/compare/v9.3.1...v9.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-07 12:31:27 -04:00
Michael Schurter 85d4309128 docs: add 0.11.0-rc1 to download page
update banner from "Beta" to "Release Candidate"
2020-04-07 07:48:53 -07:00
Charles Z 42e1070aa4
Fix wrong title in sidecar_task stanza docs (#7335) 2020-04-07 08:28:30 -04:00
Spencer Owen 51741f7aad
Improve vault language (#7644) 2020-04-07 07:54:25 -04:00
Tim Gross caa258b924
docs: add warnings for CSI plugin jobspec (#7642)
* Node/monolith plugins require root privileges and this wasn't being
  made super clear.
* Node/monolith plugins should always be run as system jobs.
2020-04-07 07:51:50 -04:00
Tim Gross 0a9b32e94e
docs: fix broken internal link on job plan page (#7640) 2020-04-06 16:39:11 -04:00
Drew Bailey 71b687e7d8
add note about query params for filtering 2020-04-06 13:07:38 -04:00
Ben Buzbee 769a3cd8b3 Rename OCIRuntime to Runtime; allow gpu conflicts is they are the same runtime; add conflict test 2020-04-03 12:15:11 -07:00
Ben Buzbee d4f26d1eee Support custom docker runtimes
This enables customers who want to use gvisor and have it configured on their clients.
2020-04-03 11:07:37 -07:00
Drew Bailey d55a10203b
Update website/pages/docs/configuration/audit.mdx
Co-Authored-By: Mahmood Ali <mahmood@hashicorp.com>
2020-04-03 08:53:38 -04:00
Drew Bailey ba5908d12f
make placement of filter and sinks stanzas clearer 2020-04-03 08:43:05 -04:00
Seth Hoenig f7ef64d264
Merge pull request #7440 from hashicorp/docs-connect-expose
docs: add documentation for proxy.expose configuration
2020-04-02 16:51:24 -06:00
Seth Hoenig 9a79b182b7 docs: add exposed TG service check examples to expose docs 2020-04-02 16:42:38 -06:00
Tim Gross 34348708ac
csi: internals docs (#7522)
Summarizes the internal RFCs for plugins and volume lifecycles.
2020-04-02 16:05:26 -04:00
Nick Ethier 92f8bfc729 connect: set task lifecycle config for injected sidecar task
fixes #7593
2020-04-01 21:19:41 -04:00
Charlie Voiselle 860dda2891
Merge pull request #7561 from hashicorp/docs-link2tdguide
[docs] Adding link to learn track
2020-04-01 17:53:18 -04:00
Mahmood Ali 3c1ac61561 website: link to 0.11.0-beta2 release 2020-04-01 17:45:26 -04:00
Mike Wickett 04d98f095e website: update netlify redirects syntax 2020-04-01 12:33:34 -04:00
Seth Hoenig 9b6323e467 docs: add documentation for proxy.expose configuration
This changeset adds documentation changes for the new
`proxy.expose` stanza as well as the `check.expose` parameter.

The examples are centered around proposed changes for the "countdash"
`dashboard-service` in [demo-consul-101](github.com/hashicorp/demo-consul-101/pull/6).
The dashboard service will now serve two additonal endpoints

- `/health/api`
- `/metrics`

which should serve nicely as expose-able paths.
2020-04-01 08:19:21 -06:00
Zack Smith c1f67395aa Fix syntax error in docs
Prior to this commit, the HCL syntax was invalid. This commit adds a `,`
to make the example pass syntax checks.
2020-03-31 14:32:23 -07:00
Charlie Voiselle 0275177d5f
Shortening Learn CTA sentence. 2020-03-31 13:24:27 -04:00
Charlie Voiselle 6600a59a75 Adding link to learn track 2020-03-31 10:34:28 -04:00
Jonathan Neal ac0683f14b
Use scroll-margin with floating navigation (#7528)
* Use scroll-margin to offset links when the navigation is sticky

* Educate this rule
2020-03-30 15:04:50 -04:00
Drew Bailey d148f35e5c
add a globbed example 2020-03-30 10:25:23 -04:00
Drew Bailey a98dc8c768
update audit examples to an endpoint that is audited 2020-03-30 10:03:11 -04:00
Jeff Escalante 255bfdfa66 update docs-page component to fix jump to section 2020-03-27 20:23:20 -04:00
Jeff Escalante 6bf670f931 add styling to offset permalinks from sticky nav 2020-03-27 20:23:20 -04:00
Charlie Voiselle 4f71d9d4d3
Merge pull request #7503 from hashicorp/docs-system-no-deploy
[docs] System scheduler doesn't do deployments.
2020-03-27 19:24:13 -04:00
Michael Schurter e7812acde2 docs: improve wording of linux requirement 2020-03-27 13:56:37 -07:00
Charlie Voiselle fe8c7fa1d0
Merge pull request #7517 from hashicorp/docs-sunset-guides
Sunset /guide folder; Fix links
2020-03-27 15:27:16 -04:00
Charlie Voiselle 4e4fbbebdd fix search and replace error 2020-03-27 11:39:03 -04:00
Drew Bailey a66b4be0f3
remove auditing for /ui/ 2020-03-27 10:12:42 -04:00
Charlie Voiselle 169a6f2ba2 Fixed pages with new changes 2020-03-26 19:58:26 -04:00
Charlie Voiselle 2d002ea9ac Fix double redirects
(cherry picked from commit 5cb4e48571609bf391e8dc0afcf832275990f33e)
2020-03-26 19:28:50 -04:00
Charlie Voiselle 3f2fb6ff00 Move ui guide redirects above catch-all
(cherry picked from commit 81298e3e5b1110a0f4d15e0641e59aee3514b059)
2020-03-26 19:28:40 -04:00
Charlie Voiselle b8cf42909d Fix whitespace
(cherry picked from commit 8e247ac192298ad54743a13b75c30b2572493adc)
2020-03-26 19:28:29 -04:00
Charlie Voiselle 23e5edb050 Fix ACL redirects; sort
(cherry picked from commit 624c411830a4f81232ae8e9007ba8f6b68b9f47e)
2020-03-26 19:28:19 -04:00
Charlie Voiselle a835c2ab09 Remove duplicate redirects
links ending with / and links without a terminal / are handled the same
according to the netlify redirect documenation

(cherry picked from commit 91171c6a1dd74e3396a66e35c27c6ec858c5977f)
2020-03-26 19:28:06 -04:00
Charlie Voiselle a72208eebe more links
(cherry picked from commit 0e39e2e49b0371c246dc1a9b4bb20af0b2f642a0)
2020-03-26 19:27:55 -04:00
Charlie Voiselle 4b580df670 fixing links
(cherry picked from commit 575f22e970e2429b8f9871f11b8c3e0924c82dc2)
2020-03-26 19:27:05 -04:00
Charlie Voiselle e1e1dab5fe correcting layout for reparented pages
(cherry picked from commit ce9d9b5e69fe5f47847cc511ffd73f6b43de92e7)
2020-03-26 19:26:52 -04:00
Charlie Voiselle 2328e3dcac link-fixup; move navigation 2020-03-26 19:26:38 -04:00
Charlie Voiselle 56016495ee Fix use-cases
(cherry picked from commit ac49040b9caa843fa78ef494baac3c6a08b15d45)
2020-03-26 19:20:56 -04:00
Charlie Voiselle 0aaca7d969 Removing guide folder
reparented some elements to docs.

(cherry picked from commit 4fa35e51e0e0d193bf81f4465f4e1ba4caa5b3ca)
2020-03-26 19:20:39 -04:00
Jeff Escalante 78a9d7b856
Anchor Link Fixes (#7287) 2020-03-26 16:21:24 -04:00
Brandon Romano 3b6ce3eb7e Adds .11 Alert Banner 2020-03-25 17:11:19 -07:00
Charlie Voiselle 9f2f448fb8
Update schedulers.mdx 2020-03-25 20:10:53 -04:00
nicolelyn 67532c34eb clean up css styles 2020-03-25 17:02:12 -07:00
Brandon Romano 7a06454a56 Constrain subnav 2020-03-25 17:01:29 -07:00
nicolelyn 8f399e4245 add csi feature content 2020-03-25 16:50:34 -07:00
Jeff Escalante 3d7abc243f
Update website dependencies, fix IE11 (#7345) 2020-03-25 16:34:16 -04:00
Jasmine Dahilig 719d68698a
docs: add beta tag to lifecycle stanza (#7496) 2020-03-25 10:30:44 -07:00
Jasmine Dahilig c063e84129
docs: lifecycle stanza (#7493) 2020-03-25 09:57:53 -07:00
Mahmood Ali 28b951be81
Merge pull request #7478 from hashicorp/docs-scaling-api
docs: nomad scaling policy api
2020-03-25 12:50:56 -04:00
Mahmood Ali 6e10ca72e4 add beta info 2020-03-25 11:14:55 -04:00
Mahmood Ali af8263fb5b Publish nomad 0.10.5 release 2020-03-25 11:12:39 -04:00
Chris Baker d3e031b96b
Update website/pages/api-docs/jobs.mdx
Co-Authored-By: James Rasell <jrasell@users.noreply.github.com>
2020-03-25 07:51:25 -05:00
Drew Bailey e3a449bbee
fix typo 2020-03-24 19:48:29 -04:00
Drew Bailey ec2fd3329c
update enterprise audit blurb 2020-03-24 19:42:02 -04:00
Chris Baker 83c60e55ab added documentation for scaling stanza 2020-03-24 22:36:27 +00:00
Chris Baker 8e449fa49e document new scaling APIs in the API section 2020-03-24 22:08:34 +00:00
Drew Bailey 2430954a9d
Merge pull request #7429 from hashicorp/docs-audit-logging
docs: audit logging
2020-03-24 14:24:31 -04:00
Drew Bailey 4b74084aba
enterprise index page update 2020-03-24 14:22:37 -04:00
Tim Gross b0dbef3221
CSI: HTTP API docs (#7435)
HTTP API documentation for the `/plugin` and `/volume` endpoints, to
support CSI.
2020-03-24 14:21:45 -04:00
Drew Bailey 2f5e77dba4
Audit logging documentation
docs for audit logging

enterprise only note

enterprise page audit blurb

add audit to sidebar

add general options audit info

fix name for docs-navigation

link to docs

more docs

add audit log entry examples

fix audit link

clean up audit log docs
2020-03-24 14:20:27 -04:00
Tim Gross 4ef4a604c2
Documentation for CSI command line and jobspec (#7439)
Includes:

* changes `nomad alloc status` and `nomad node status`
* changes to `volume` block in jobspec
* new `csi_plugin` block in jobspec
* new `nomad volume register/deregister/status` commands
* new `nomad plugin status` command
2020-03-24 11:09:46 -04:00
Jonathan Neal 1375272507 Replace internal DocsPage with @hashicorp/react-docs-page 2020-03-23 12:28:00 -04:00
Dane Harrigan 588b30814e
Merge pull request #7373 from hashicorp/daneharrigan-patch-1
Update consul-connect.mdx
2020-03-22 22:22:43 -07:00
James Rasell 1e4b534473
Merge pull request #7313 from hashicorp/docs-gh-7294
docs: explicitly detail IAM instance profile S3 artifact auth.
2020-03-18 15:43:41 +01:00
Dane Harrigan 9b522e31e8
Update consul-connect.mdx
HCL grpc key doesn't need quotes
2020-03-17 14:31:36 -07:00
Michael Schurter c37d82eab7
Merge pull request #7342 from hashicorp/docs-acl-link
docs: add some links to the acl guide
2020-03-17 08:38:22 -07:00
Brandon Romano 8d58088472
Merge pull request #7353 from hashicorp/website-code-inline
website: Fix bug with new lines in code samples
2020-03-16 21:02:32 -07:00
Jonathan Neal cca142d2ad
Use Head Component (#7334) 2020-03-16 13:10:31 -04:00
Brandon Romano b49dac2364 Fix bug with new lines in code samples
Previously we were adding in an invisible space to force a newline here.
That is no longer needed.
2020-03-15 22:20:12 -07:00
Brandon Romano 4a2da2334b
Merge pull request #7319 from jescalan/nf.swap-guide-icons
Update Icons for Guides
2020-03-15 21:59:16 -07:00
Jeff Escalante 206c38df8c clarify downloads page error, document version and prerelease flow 2020-03-13 18:11:20 -04:00
Michael Schurter 0b162dea7b docs: add some links to the acl guide
ACL APIs already have osme links, but the command and configuration
pages did not.
2020-03-13 10:16:01 -07:00
Jeff Escalante 77e6ad8867 Revert "Merge pull request #7322 from hashicorp/docs-fix-guide-links"
This reverts commit 4311f5e95657a2eb7b231daf326af252e6c75ae7, reversing
changes made to 5d5469e6facfc4ab59235d5532664bb95a597728.
2020-03-12 18:18:14 -04:00
Charlie Voiselle e1f6cf4734 Working on "/guides" links 2020-03-12 15:46:39 -04:00
Dane Harrigan c4f8d41720
Merge pull request #7301 from hashicorp/daneharrigan-patch-2
Update index.mdx
2020-03-11 23:17:58 -07:00
Michael Schurter ca9f92fb18
Merge pull request #7226 from hashicorp/daneharrigan-patch-1
Fix rendered backslash in group "<required>"
2020-03-11 13:27:43 -07:00
nicolelyn f7ee48226e update icons 2020-03-11 14:03:24 -04:00
James Rasell 3354a2665b
docs: explicitly detail IAM instance profile S3 artifact auth.
Previously the S3 artifact documentation only referenced using
options populated with access credentails when pulling from a
bucket that required authentication. This change upadtes the doc
to also detail using IAM instance profiles.
2020-03-11 12:55:37 +01:00
Michael Schurter 2dcc85bed1 jobspec: fixup vault_grace deprecation
Followup to #7170

- Moved canonicalization of VaultGrace back into `api/` package.
- Fixed tests.
- Made docs styling consistent.
2020-03-10 14:58:49 -07:00
Michael Schurter b72b3e765c
Merge pull request #7170 from fredrikhgrelland/consul_template_upgrade
Update consul-template to v0.24.1 and remove deprecated vault grace
2020-03-10 14:15:47 -07:00
Dane Harrigan 6685cf34f0
Update index.mdx
Addressing headers not being rendered. Missing space between "##" and text.
2020-03-09 10:38:47 -07:00
Chris Baker b5da96a633
updated /agent/monitor query parameter
query param is `log_json`, not `json`
2020-03-09 12:38:15 -05:00
Charlie Voiselle 0496232b59
Merge pull request #7263 from hashicorp/docs-more-guide-redirects
Add redirects to learn for migrated guides
2020-03-04 17:10:35 -05:00
Jeff Escalante a78288b980
update bugsnag config (#7261) 2020-03-03 17:51:24 -05:00
Charlie Voiselle 2f723d4115 Add redirects to learn for migrated guides 2020-03-03 17:24:21 -05:00
Nick Ethier 73d8fdbe31
Merge pull request #6930 from JanMa/add-nspawn-driver
docs: add nspawn as external task driver plugin
2020-03-03 07:33:13 -05:00
James Rasell 8eb62fccb8
Merge pull request #7242 from hashicorp/b-gh-7240
docs: remove Nomad binary size specifics from documentation.
2020-03-03 08:41:50 +01:00
Jeff Escalante 86f72a6c40
a couple more updates (#7211) 2020-03-02 17:15:29 -05:00
Jonathan Neal a3b6be0024
[website] add print styles (#7182) 2020-03-02 17:13:24 -05:00
Jeff Escalante 5506a0e5fb
downloads page community link correction (#7134) 2020-03-02 15:11:18 -05:00
Jeff Escalante 757b2db83d
fix subnav css overlap, inconsistent subnav data (#7230) 2020-03-02 14:53:43 -05:00
James Rasell 00c163fd5c
docs: remove Nomad binary size specifics from documentation. 2020-03-02 19:31:06 +01:00
JanMa 9309084ec8 add missing sidebar item 2020-02-29 20:54:46 +01:00
JanMa df1ee5b4d1 fix page layout settings 2020-02-29 18:07:15 +01:00
Jan Martens 5e082c7ac3 docs: add nspawn as external task driver plugin 2020-02-29 17:52:06 +01:00
Dane Harrigan 84f8ac8656
Fix rendered backslash in group "<required>"
The `<require>` tag contained backslashes and the first backslash was getting rendered. See on live site: https://nomadproject.io/docs/job-specification/job/#inlinecode-group-7
2020-02-25 19:22:30 -08:00
Brandon Romano f2c119d3b0 Fix the line spacing for the codeblock 2020-02-24 19:31:43 -05:00
Brandon Romano 93414b7190 Fix indentation 2020-02-24 19:08:57 -05:00
Brandon Romano 6433c4e2f9 Remove global mega-nav component
We've temporarily ejected the meganav component to add some custom
styling that needed to happen for NomadProject.io
2020-02-23 13:40:37 -08:00
Brandon Romano 7580bdb821
Update website/pages/use-cases/non-containerized-application-orchestration.jsx
Co-Authored-By: Mike Wickett <mike@wickett.ca>
2020-02-23 13:28:32 -08:00
Brandon Romano a2d5049a01
Title case consul connect feature
Co-Authored-By: Mike Wickett <mike@wickett.ca>
2020-02-23 13:27:02 -08:00
Brandon Romano 7d51ffe312
Feature capitalization
Co-Authored-By: Mike Wickett <mike@wickett.ca>
2020-02-23 13:23:15 -08:00
Brandon Romano e0ce5e74c1
Simplify mini-cta optional code
Co-Authored-By: Mike Wickett <mike@wickett.ca>
2020-02-23 13:14:23 -08:00
Fredrik Hoem Grelland edb3bd0f3f Update consul-template to v0.24.1 and remove deprecated vault_grace (#7170) 2020-02-23 16:24:53 +01:00
nicolelyn f056b3353f Homepage redesign & use-cases pages 2020-02-22 15:41:06 -08:00
Jeff Escalante e9ea75b108
correct analytics traffic pointer (#7212) 2020-02-20 20:16:48 -05:00
Michael Schurter d3a9ab3a79
Merge pull request #7083 from hashicorp/d-service-lifecycle
Document service lifecycle
2020-02-20 14:56:17 -08:00
Michael Schurter 74d5f662e6 docs: update download page for 0.10.4 final 2020-02-19 12:51:02 -08:00
Charlie Voiselle 6d6d8d0ce7
Merge pull request #7190 from hashicorp/d-cv-connect-namespace-note
[docs] Add note Nomad Connect requires namespaces...
2020-02-19 13:26:49 -05:00
Mahmood Ali 07943f95a4
Merge pull request #7149 from th0m/tlefebvre/no-pivot-root
client: support no_pivot_root in exec driver configuration
2020-02-19 12:18:51 -06:00
Charlie Voiselle d32cf47836 [docs] Add note Nomad Connect requires namespaces...
and can only run on linux oses at the moment.
2020-02-19 12:16:20 -05:00
Michael Schurter 4d8de5eda1 docs: mention group service registration
A few minor tweaks and cleanups as well.
2020-02-19 08:29:58 -08:00
Kyle MacDonald 6be8cb2090 website: indent `mode` bullets in network params 2020-02-19 11:16:00 -05:00
Seth Hoenig 5c0971cd10
Merge pull request #7146 from hashicorp/doc-fix-cht-references
docs: fix references to consul environment variable
2020-02-19 08:41:07 -06:00
Seth Hoenig e0a4036651
Merge pull request #7143 from hashicorp/doc-cht-filtering
docs: upgrade-specific notes on CHT filtering
2020-02-19 08:40:15 -06:00
Alex Dadgar 7a22169c85 Document service lifecycle 2020-02-19 09:30:07 -05:00
Jeff Escalante 6a1764edb3
[website] a small collection of upgrades (#7162)
* update deps, fix logo styles on mobile, preload css and fonts
* update product downloader
2020-02-18 13:33:09 -05:00
Kyle MacDonald ef36b66b9a website: move up nomad intro yt video
- per suggestion from dev-rel
2020-02-18 12:51:41 -05:00
Thomas Lefebvre 84baa950ce client: support no_pivot_root in exec driver configuration 2020-02-18 09:27:16 -08:00
Chance Hudson c13f21713d deploment -> deployment 2020-02-18 11:29:39 -05:00
Seth Hoenig 217a78f1b5 docs: document enable_tag_override field for service stanzas 2020-02-13 13:23:51 -06:00
Seth Hoenig 938f00ca60 docs: fix references to consul environment variable
We mistakenly reference `CONSUL_TOKEN` where we should be using `CONSUL_HTTP_TOKEN`.
There is one case where `CONSUL_TOKEN` is correct - client.mdx there is a list of
default filtered environment variables, which for legacy reasons `CONSUL_TOKEN` will
always be one.
2020-02-13 10:02:36 -06:00
Seth Hoenig 6b9fd8d269 docs: upgrade-specific notes on CHT filtering 2020-02-13 09:44:47 -06:00
Kyle MacDonald 9fd1ae0df7 website: fix 'edit this page' path 2020-02-13 10:22:49 -05:00
Jeff Escalante 93c64890fb
add changes from #7078 2020-02-11 16:31:14 -05:00
Jeff Escalante 3d865efef9
add release candidate from #7120 2020-02-11 16:31:14 -05:00
Jeff Escalante 0bef886c2b
add changes from #7121 2020-02-11 15:39:03 -05:00
Jeff Escalante 569bead286
fix a couple more links 2020-02-10 14:20:59 -05:00
Jeff Escalante ba72fc57c2
css fix 2020-02-10 14:00:38 -05:00
Jeff Escalante 59ac380af4
add link checker, fix a redirect, remove unused component 2020-02-10 13:56:55 -05:00
Jeff Escalante db2fba3a82
update deps to add minor style fixes 2020-02-10 12:46:31 -05:00
Jeff Escalante a3fa93cea7
remove extra redirect file 2020-02-10 12:44:34 -05:00
Jeff Escalante 0689f30384
update dependencies 2020-02-07 17:45:35 -05:00
Jeff Escalante fdd0a59ec9
add netlify.toml 2020-02-07 11:41:37 -05:00
Jeff Escalante 6c8f079d24
new website 2020-02-06 18:45:31 -05:00
Seth Hoenig f030a22c7c command, docs: create and document consul token configuration for connect acls (gh-6716)
This change provides an initial pass at setting up the configuration necessary to
enable use of Connect with Consul ACLs. Operators will be able to pass in a Consul
Token through `-consul-token` or `$CONSUL_TOKEN` in the `job run` and `job revert`
commands (similar to Vault tokens).

These values are not actually used yet in this changeset.
2020-01-31 19:02:53 -06:00
Sebastián Ramírez 830ee3a693
Use secret ID for NOMAD_TOKEN
Use secret ID for NOMAD_TOKEN as the accessor ID doesn't seem to work.

I tried with a local micro cluster following the tutorials, and if I do:

```console
$ export NOMAD_TOKEN=85310d07-9afa-ef53-0933-0c043cd673c7
```

Using the accessor ID as in this example, I get an error:

```
Error querying jobs: Unexpected response code: 403 (ACL token not found)
```

But when using the secret ID in that env var it seems to work correctly.
2020-01-31 18:57:16 +01:00
Mahmood Ali 73200bfa69
Merge pull request #7010 from hashicorp/doc-bulk-20200129
Docs and Changelog catch up
2020-01-31 10:51:07 -05:00
Michael Schurter 60e1ae5012 docs: bump 0.10.2 -> 0.10.3 2020-01-30 15:22:59 -08:00
Michael Schurter dd7712795d
Merge branch 'master' into b-tls-validation 2020-01-30 11:05:15 -08:00
Mahmood Ali a9f551542d Merge pull request #160 from hashicorp/b-mtls-hostname
server: validate role and region for RPC w/ mTLS
2020-01-30 12:59:17 -06:00
Michael Schurter 8d18b5d6be docs: document limits
Taken more or less verbatim from Consul.
2020-01-30 10:38:42 -08:00
Mahmood Ali 42907cf259 incorporate review feedback 2020-01-29 21:56:26 -05:00
Mahmood Ali 14c806248e document docker's disable_log_collection flag 2020-01-29 21:44:05 -05:00
Mahmood Ali a7d65049c5 Document default_scheduler_config option 2020-01-29 21:44:05 -05:00
Mahmood Ali 6602427236 docs: tweaks 2020-01-28 08:39:58 -05:00
Mahmood Ali 112625e769
Merge pull request #6997 from hashicorp/docs-bootstrap-reset
docs: reseting bootstrap doesn't invalidate token
2020-01-28 08:37:45 -05:00
Mahmood Ali 9926614df2
Update website/source/guides/security/acl.html.markdown
Co-Authored-By: Tim Gross <tim@0x74696d.com>
2020-01-27 14:17:44 -05:00
Mahmood Ali d2531ccb83 docs: reseting bootstrap doesn't invalidate token 2020-01-27 13:45:52 -05:00
Nick Ethier 6d0556bc30 website: add canary meta to api docs 2020-01-27 09:53:30 -05:00
Nick Ethier 5cbb94e16e consul: add support for canary meta 2020-01-27 09:53:30 -05:00
Michael Schurter 17d402b680
Merge pull request #6953 from TimHiggison/patch-2
Update configuring-tasks.html.md
2020-01-23 12:15:54 -08:00
Michael Schurter ae0baf389b
Merge pull request #6952 from TimHiggison/patch-1
Update ecs.html.md
2020-01-23 12:15:07 -08:00
Charlie Voiselle b0d7b4e1d7
Merge pull request #6780 from hashicorp/km.intro-video
website: add ‘intro to nomad’ video to /intro
2020-01-23 11:32:13 -05:00
Tim Higgison 7a9a33f7a7
Update configuring-tasks.html.md 2020-01-17 11:41:47 +10:00
Tim Higgison 6cdd659f5d
Update ecs.html.md 2020-01-17 08:51:09 +10:00
Charlie Voiselle a4aeea0058
Upgrade -> Update 2020-01-13 17:36:49 -05:00
Danielle 5fd52171aa
cli: add system command and subcmds to interact with system API. (#6924)
cli: add system command and subcmds to interact with system API.
2020-01-13 16:16:08 +01:00
James Rasell 09519bb03f
system CLI documentation fixes based on feedback from @angrycub 2020-01-13 15:45:14 +01:00
James Rasell c452f32414
docs: add documentation for system command. 2020-01-13 11:35:24 +01:00
Drew Bailey ff4bfb8809
Merge pull request #6841 from hashicorp/f-agent-pprof-acl
Remote agent pprof endpoints
2020-01-10 14:52:39 -05:00
Nick Ethier 1f28633954
Merge pull request #6816 from hashicorp/b-multiple-envoy
connect: configure envoy to support multiple sidecars in the same alloc
2020-01-09 23:25:39 -05:00
Drew Bailey 1b8af920f3
address pr feedback 2020-01-09 15:15:09 -05:00
Drew Bailey fc67175141
api docs for agent/pprof 2020-01-09 15:15:06 -05:00
Tim Gross b5bcfb533b
upgrade CNI plugins to 0.8.4 (#6921)
When multiple Connect-enabled task groups start on the same client
node, a race condition in the CNI plugins for creating iptables chains
causes one of the tasks to fail. We upstreamed a patch to CNI plugins
to make iptables chain creation idempotent.

This changeset updates end-to-end testing, development tooling, and
documentation to use 0.8.4 which includes our patch.
2020-01-09 10:57:07 -05:00
Charlie Voiselle 52dfb3de79 Change consul agent note to callout
Because this is such a common misconfig, it is probably worth
highlighting
2020-01-08 13:08:54 -05:00
Nick Ethier 105cbf6df9 tr: expose envoy sidecar admin port as environment variable 2020-01-06 21:53:45 -05:00
Michael Schurter 0a3558f27e docs: add podman as an external task driver plugin
Tested using https://github.com/schmichael/nomad-podman-vagrant
2020-01-03 12:58:17 -08:00
Michael Schurter 92e78c59cd docs: fix lxc anchor link 2020-01-03 12:57:48 -08:00
Michael Schurter 6740d055df docs: fix capitalization 2020-01-03 12:57:27 -08:00
Charlie Voiselle 9defc989fb
Fix bad link
Corrected link to Nomad UI track from comments in #6876
2019-12-20 09:33:57 -05:00
Charlie Voiselle 509f53217e
[docs] Migrating Web-UI and Governance Guides to learn (#6876)
* [docs] Migrating Web-UI and Governance Guides to learn

* fix 404s caught in checks
2019-12-19 15:32:23 -05:00
Charlie Voiselle fd3bf5f971
cli: Allow user to specify dest filename for nomad init (#6520)
* Allow user to specify dest filename for nomad init
* Create changelog entry for GH-6520
2019-12-19 14:59:12 -05:00
Drew Bailey 8e59e91991
Merge pull request #6746 from hashicorp/f-shutdown-delay-tg
Group shutdown_delay
2019-12-18 16:01:30 -05:00
John Schlederer 8b35c75206 Making pull activity timeout configurable in Docker
* Making pull activity timeout configurable in Docker plugin config, first pass

* Fixing broken function call

* Fixing broken tests

* Fixing linter suggestion

* Adding documentation on new parameter in Docker plugin config

* Adding unit test

* Setting min value for pull_activity_timeout, making pull activity duration a private var
2019-12-18 12:58:53 +01:00
Drew Bailey d9e41d2880
docs for shutdown delay
update docs, address pr comments

ensure pointer is not nil

use pointer for diff tests, set vs unset
2019-12-16 11:38:35 -05:00
ebarriosjr b953239227 driver/pot: Added extra_hosts and args commands (#6577) 2019-12-12 16:29:45 -05:00
Tim Gross b25713a837
doc: spread is inherited from job to group (#6837) 2019-12-11 09:59:26 -05:00
Chris Arcand deb84a41f6 Make note of Sentinel standard imports
> Sentinel-embedded applications can choose to whitelist or blacklist
certain standard imports. Please reference the documentation for the
Sentinel-enabled application you're using to determine if all standard
imports are available.
2019-12-10 14:44:51 -06:00
Tim Gross 5289c1e0aa
doc: explain ALLOC_INDEX uniqueness guarantees (#6830)
The `ALLOC_INDEX` isn't guaranteed to be unique, and this has caused
some user confusion. The servers make a best-effort attempt to make
this value unique from 0 to count-1 but when you have canaries on the
task group, there are reused indexes because you have multiple job
versions running at the same time. If a user needs a unique number for
interpolating a value in your application, they can get this by
combining the job version and the alloc index.

Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-12-10 10:30:26 -05:00
abhip c81b3f5cbd Update consensus.html.md (#6813)
The url for raft algorithm pdf is no longer valid. Here is correct url - https://raft.github.io/raft.pdf  and website is https://raft.github.io/
2019-12-06 06:17:30 -08:00
Fredrik Hoem Grelland 3e164b42fe Update network.html.md (#6782)
There is an undocumented way of mapping a dynamically allocated port to the container. This is applicable in bridge networking ( necessary for consul connect enabled services ) to expose the service *directly*. This is needed when using upstream connect services, but you need to expose the service by normal means. By referencing the current documentation you need to use static ports in order to do so. Introduced in #6189 but undocumented
2019-12-06 06:08:56 -08:00
James Rasell 6fcb19890b docs: add jrasell/chemtrail to community resources. (#6798) 2019-12-06 06:07:00 -08:00
Hugo Herter a98e59e0fc docs: port name requires quotes in hcl
When trying to run this example, Nomad v0.10.2 raises the following error:
`Error getting job struct: Error parsing job file from example-ipv6.hcl: error parsing: At 33:22: Unknown token: 27:16 IDENT db`

Adding quotes around the port map `db` fixes the problem and the job works as expected.
2019-12-05 12:37:24 +01:00
Michael Schurter 3ae3d43ec6 docs: release 0.10.2 and 0.9.7 2019-12-04 14:18:17 -08:00
Luiz Aoqui a388b1aa7c
Merge pull request #6803 from hashicorp/docs-driver-skeleton-reference
docs: add reference to the driver plugin skeleton project
2019-12-04 18:49:17 +00:00
Michael Schurter 7f0ae677c9 docs: reference cni-plugins v0.8.3 2019-12-04 10:20:33 -08:00
Luiz Aoqui 31d0d99148
docs: add reference to the drivir plugin skeleton project 2019-12-03 17:17:52 -05:00
Charlie Voiselle 44e3cf6779
Merge pull request #6791 from hashicorp/docs/cv/stateful_to_learn
Stateful Workload guides to learn.hashicorp.com
2019-12-03 14:48:01 -05:00
Michael Schurter 7655e0cee4
Merge pull request #6792 from hashicorp/b-propose-panic
scheduler: fix panic when preempting and evicting allocs
2019-12-03 10:40:19 -08:00
Michael Schurter 3aa85a770d docs: mention #6787 in upgrade guide 2019-12-03 08:46:23 -08:00
Charlie Voiselle 3f794f2df1 Stateful Workload guides to learn.hashicorp.com 2019-12-02 16:37:06 -05:00
Seth Hoenig d81a091ccd
Merge pull request #6752 from hashicorp/docs-vault-token_period
docs: vault integration docs should reference new token_period field
2019-12-02 16:21:17 -05:00
Seth Hoenig 953e40c8ed docs: vault integration docs should reference new token_explicit_max_ttl field 2019-12-02 14:22:47 -06:00
Michael Lange 83b990d333 Fix incorrect page title on the operating a job UI guide 2019-12-02 11:27:56 -08:00
Michael Lange 8f08df0e0d Remove old UI guide 2019-12-02 11:27:55 -08:00
Michael Lange 71dbdac912 Add a redirect rule from the old ui guide to the new ones 2019-12-02 11:27:54 -08:00
Kyle MacDonald 93e2b7cdf3 website: add ‘intro to nomad’ video to /intro
- additionally add some css to allow the embedded iframe to respond at lower browser sizes
2019-11-26 14:41:17 -05:00
Charlie Voiselle 1f26f27fd9
Merge pull request #6768 from hashicorp/docs/cv/lb_to_learn
Migrating the Load-balancing guides to Nomad
2019-11-25 14:41:08 -05:00
Tim Gross 781c20ea90
docs: show /etc/passwd in minimal chroot (#6769) 2019-11-25 13:47:18 -05:00
Charlie Voiselle 5e4dcfb8cc Removed 404 links; pointed to learn.hashicorp.com 2019-11-22 15:30:32 -05:00
Charlie Voiselle 395ebf3dcc Removed sidenav links for LB guides 2019-11-22 14:46:45 -05:00
Charlie Voiselle ca0ebc8f5b Migrating the Load-balancing guides to Nomad
Added redirects and stub-ified the index page
2019-11-22 14:29:12 -05:00
Michael Schurter 603773b22f
Merge pull request #6765 from hashicorp/docs-connect-bugs
docs: update connect limitations
2019-11-22 11:18:31 -08:00
Mahmood Ali d9e7599ced docs: address more GH-6762 review comments
Incorporate suggestions in https://github.com/hashicorp/nomad/pull/6762#pullrequestreview-321716747

[ci skip]
2019-11-22 13:22:14 -05:00
Michael Schurter 18534b12a2 docs: update connect limitations 2019-11-22 10:18:10 -08:00
Mahmood Ali 12e65c054d address more review comments 2019-11-22 13:10:10 -05:00
Mahmood Ali eda18fff76
Apply suggestions from code review
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-11-22 13:03:20 -05:00
Mahmood Ali d694f1d61c document docker dangling container repeaper 2019-11-22 09:58:00 -05:00
Chris Baker bde82d7d0e added the device plugin authoring guide, made minor formatting changes to task driver plugin authoring guide. 2019-11-22 00:38:46 +00:00
Michael Schurter ae61a80de5 docs: add Nomad v0.10.2-rc1 download link 2019-11-21 15:05:29 -08:00
Seth Hoenig 75539ff281 docs: vault integration docs should reference new token_period field 2019-11-21 14:19:34 -06:00
Lang Martin def417a33a docs: update quota docs to include network limits 2019-11-20 18:44:06 -05:00
Lang Martin 2e2c662977 command: quota status reports network usage 2019-11-20 18:44:06 -05:00
Michael Schurter ecf970b5a5
Merge pull request #6370 from pmcatominey/tls-server-name
command: add -tls-server-name flag
2019-11-20 08:44:54 -08:00
Buck Doyle 56d9005b07
Docs: fix broken alloc signal link (#6731) 2019-11-19 16:05:35 -06:00
Buck Doyle 941231db51
Docs: add missing exec command to alloc listing (#6730) 2019-11-19 15:17:21 -06:00
Michael Schurter 6f64e52d61
Merge pull request #6699 from hashicorp/f-semver-constraints
Add new "semver" constraint
2019-11-19 12:18:43 -08:00
Michael Schurter 260c26e9c4 docs: document semver constraint operator 2019-11-19 10:26:25 -08:00
Buck Doyle 676b84c735
Docs: correct that exec task flag is not optional (#6729)
The task is required, not optional, there’s no default as was described.
2019-11-19 11:20:07 -06:00
Drew Bailey e44a66d7fc
DOCS: Spread stanza does not exist on task
Fixes documentation inaccuracy for spread stanza placement. Spreads can
only exist on the top level job struct or within a group.

comment about nil assumption
2019-11-19 08:26:36 -05:00
Charlie Voiselle bc7ce08dcf
a few more redirects 2019-11-14 16:38:24 -05:00
Charlie Voiselle 40e0305958
Update redirects.txt 2019-11-14 16:29:06 -05:00
Drew Bailey 9b63828658
serverID to target remote leader or server
handle the case where we request a server-id which is this current server

update docs, error on node and server id params

more accurate names for tests

use shared no leader err, formatting

rm bad comment

remove redundant variable
2019-11-14 10:07:35 -05:00
Charlie Voiselle 8b6ff61372 Fix link; discuss meta; lint fixes 2019-11-12 17:32:21 -05:00
Charlie Voiselle 835831a3d8 Added service wrapper code (#6220)
This is the basic code to add the Windows Service Manager hooks to Nomad.

Includes vendoring golang.org/x/sys/windows/svc and added Docs:
* guide for installing as a windows service.
* configuration for logging to file from PR #6429
2019-11-11 15:16:07 -05:00
Chris Baker 6f75cc6c5b there was a bad (localhost) URL in the vault docs 2019-11-11 19:24:40 +00:00
Charlie Voiselle c0ea43bae7 linter fixes 2019-11-11 10:04:17 -05:00
Tim Gross 59c043a1e5
doc: add missing fields to LXC driver documentation (#6640)
The LXC task driver documentation is missing for many of the optional
task config fields, and for the recently added `gc` field on the
driver configuration.
2019-11-11 08:51:30 -05:00
Carlos Neira b935bcfdd7 Added firecracker-task-driver to community docs (#6654)
* Added firecracker-task-driver to community docs

Signed-off-by: Carlos Neira <cneirabustos@gmail.com>
2019-11-11 08:50:27 -05:00
RJ Spiker 6740bbe828 website - add -moz-osx-font-smoothing for smooth firefox osx fonts 2019-11-07 12:29:21 -07:00
Charlie Voiselle 404aa6837e
Merge pull request #6596 from rjspiker/rj.fonts
website - font and brand update
2019-11-06 13:01:58 -05:00
Drew Bailey 6fd1901ef0
fix long lines, add possible values 2019-11-05 14:24:52 -05:00
Drew Bailey 8e1fa5ca06
agent api docs for monitor
update CHANGELOG
2019-11-05 13:53:35 -05:00