Commit Graph

2949 Commits

Author SHA1 Message Date
Jeff Escalante
5bc75fdbde fix formatting error on preemption docs page 2020-05-12 14:08:55 -04:00
Jose Diaz-Gonzalez
675d54a3c2 Update website/pages/docs/internals/scheduling/preemption.mdx
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-05-12 13:21:15 -04:00
Jose Diaz-Gonzalez
c0146fa8ca docs: add note that only system job preemption is available in OSS 2020-05-12 13:02:13 -04:00
Mahmood Ali
dd06346435 Merge pull request #7932 from hashicorp/f-docker-custom-runtimes
Docker runtimes
2020-05-12 11:59:36 -04:00
Mahmood Ali
a4e77ab80d update docs 2020-05-12 11:07:12 -04:00
Mahmood Ali
0f499a37ef Apply suggestions from code review
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-05-12 10:56:47 -04:00
Tim Gross
a28f18ea1d csi: support Secrets parameter in CSI RPCs (#7923)
CSI plugins can require credentials for some publishing and
unpublishing workflow RPCs. Secrets are configured at the time of
volume registration, stored in the volume struct, and then passed
around as an opaque map by Nomad to the plugins.
2020-05-11 17:12:51 -04:00
Mahmood Ali
3ee7379b10 Merge pull request #7912 from hashicorp/f-scheduler-algorithm-followup
Scheduler Algorithm Defaults handling and docs
2020-05-11 09:30:58 -04:00
Tim Gross
8192aa602e Periodic GC for volume claims (#7881)
This changeset implements a periodic garbage collection of CSI volumes
with missing allocations. This can happen in a scenario where a node
update fails partially and the allocation updates are written to raft
but the evaluations to GC the volumes are dropped. This feature will
cover this edge case and ensure that upgrades from 0.11.0 and 0.11.1
get any stray claims cleaned up.
2020-05-11 08:20:50 -04:00
Mahmood Ali
e9fe8a98df Document scheduler algorithm 2020-05-09 12:12:38 -04:00
Seth Hoenig
b6fc382d60 Merge pull request #7891 from hashicorp/docs-improve-connect-examples
docs: improve some connect examples
2020-05-08 09:50:31 -06:00
Tim Gross
0940a50eaf volume_mount doc tweak (#7900) 2020-05-08 11:14:16 -04:00
Seth Hoenig
e9d31c977c docs: replace use of test/test with runnable examples
A few connect examples reference a fake 'test/test' image.
By replacing those with `hashicorpnomad/counter-api` we can
turn them into runnable examples.
2020-05-07 14:16:27 -06:00
Seth Hoenig
011c0cc4f8 docs: fix misspelling of countdash example 2020-05-07 14:00:00 -06:00
Seth Hoenig
3abfef4536 docs: mention Connect ACLs guide in jobspec connect docs
Promote the Connect ACLs guide on the jobspec connect stanza docs
page. This was suggested in a ticket after someone got stuck not
realizing they needed to enable Consul Intentions for their connect
enabled services, which is covered in the guide.
2020-05-07 13:53:22 -06:00
Seth Hoenig
70b138c90f docs: update examples for connect jobspec docs
Replace the existing top example with something that is directly
runnable on a `-dev-connect` nomad setup.

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

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

The example presented second demonstrates achieving the same goal as the
first exmaple, but utilizing the full plumbing available through the
`connect.proxy.expose` stanza. This should help readers comprehend what
is happening "under the hood".
2020-05-07 11:03:37 -06:00
Tim Gross
9990650b52 periodic GC for CSI plugins (#7878)
This changeset implements a periodic garbage collection of unused CSI
plugins. Plugins are self-cleaning when the last allocation for a
plugin is stopped, but this feature will cover any missing edge cases
and ensure that upgrades from 0.11.0 and 0.11.1 get any stray plugins
cleaned up.
2020-05-06 16:49:12 -04:00
Jeff Escalante
edc8454819 update to latest nextjs-scripts 2020-05-06 16:12:34 -04:00
Jeff Escalante
6f3a00b2ce fix some highlighting issues 2020-05-06 16:12:34 -04:00
Jeff Escalante
73a1b12148 update deps 2020-05-06 16:12:34 -04:00
Jeff Escalante
e219658558 switch themes 2020-05-06 16:12:34 -04:00
Jeff Escalante
cb57d44197 initial stab at prism highlighting 2020-05-06 16:12:34 -04:00
Denis Palashevskiy
82b9000403 Fix URL schema in drain documentation 2020-05-03 20:50:40 +04:00
changli0617
e223f11a3f Update _app.js 2020-04-30 15:25:43 -07:00
Michael Schurter
e3cba0c5be Merge branch 'master' into b-reserved-scoring 2020-04-30 14:48:14 -07:00
Michael Schurter
26d34f088e Update website/pages/docs/upgrade/upgrade-specific.mdx
Co-authored-by: Alex Dadgar <alex@hashicorp.com>
2020-04-30 14:47:12 -07:00
Charlie Voiselle
738f3cb0ac Adding API homepage to sidebar. 2020-04-27 13:41:11 -04:00
Charlie Voiselle
74d91fa2b4 Update docker.mdx 2020-04-24 23:20:02 -04:00
Michael Schurter
df4af4df5f docs: mention scoring change from #7730 2020-04-23 14:51:34 -07:00
Tim Gross
34187582dc website: fix path for spellchecking and correct errors (#7790) 2020-04-23 10:38:08 -04:00
Mahmood Ali
be7908d4a1 update release to 0.11.1 2020-04-22 12:13:58 -04:00
Buck Doyle
dd2e387074 Docs: correct search API (#7756)
This closes #7718. It corrects some inaccuracies and adds
an explanation of the truncations block.
2020-04-21 07:33:24 -05:00
Seth Hoenig
d4ebc73de9 Merge pull request #7705 from hashicorp/docs-remove-connect-limitation
fixup references in connect docs
2020-04-20 10:15:50 -06:00
Charles Z
a4621a7c89 label csi as beta from 0.11 release notes (#7745) 2020-04-20 08:48:04 -04:00
Jeffrey 'jf' Lim
71744bcc2d Fix/improve "job plan" messaging (#7580) 2020-04-17 15:53:16 -04:00
Yishan Lin
ffddd697c4 docs: update preemption page
This page has not been updated (yet) to reflect that support for all 3 job types (service, batch, system) which shipped in 0.9.2.

The current page implies that preemption is only available for system jobs.

This is early preparation for Nomad 0.12, where we plan to move Preemption from Enterprise feature suite to OSS for all.
2020-04-17 09:34:07 -07:00
Brandon Romano
41fe302923 Adjust the website alert to point to the blog post 2020-04-14 11:17:06 -07:00
Chris Baker
a8ed119496 documents the scaling block in the JSON Job docs (#7706)
* documents the scaling block in the JSON Job docs

resolves #7656

* add task-specific restart to JSON Job docs

companion to #7603

* [docs] improved and corrected scaling docs

* Update website/pages/api-docs/json-jobs.mdx

Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-04-13 16:33:49 -05:00
Chris Baker
bea905264b update restart documentation (#7603)
* update `restart` documentation

#7288 added support for task-specific `restart` policy. this PR updates the docs to reflect that.

* added an explicit example of task-specific restart policy

* Update website/pages/docs/job-specification/restart.mdx
2020-04-13 16:29:43 -05:00
Seth Hoenig
9332a87eb7 docs: add a link to the Connect w/ACLs guide
... from the docs/integration/consul-connect page.
2020-04-13 10:05:20 -06:00
Seth Hoenig
d8520cdf4f docs: update connect limitations (acls & checks now supported) 2020-04-13 09:51:17 -06:00
Seth Hoenig
9abd8097ae docs: fix link to envoy proxy documentation on consul site 2020-04-09 13:46:59 -06:00
Michael Schurter
7553e42878 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
a397031b06 change tense
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-04-08 07:59:11 -04:00
Mahmood Ali
b3f6ef5087 docs: move rkt to external drivers 2020-04-07 23:13:16 -04:00
Michael Schurter
0ee153daf2 docs: update downloads+banner for 0.11.0 GA 2020-04-07 15:14:22 -07:00
Michael Schurter
30eb4ef407 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
a2d17783d0 docs: remove 0.11 from scaling docs
Keep beta label for now.
2020-04-07 11:22:13 -07:00
Michael Schurter
6b0dc990c9 docs: remove beta marker from lifecycle 2020-04-07 11:22:04 -07:00