Commit Graph

3318 Commits

Author SHA1 Message Date
Shishir Mahajan
161bec4ada Add cpuset_cpus to docker driver. 2020-11-11 12:30:00 -08:00
Tim Gross
306cfabb62 docker: disallow volume mounts from host by default (#9321)
The default behavior for `docker.volumes.enabled` is intended to be `false`,
but the HCL schema defaults to `true` if the value is unset. Set the default
literal value to `true`.

Additionally, Docker driver mounts of type "volume" (but not "bind") are not
being properly sandboxed with that setting. Disable Docker mounts with type
"volume" entirely whenever the `docker.volumes.enabled` flag is set to
false. Note this is unrelated to the `volume_mount` feature, which is
constrained to preconfigured host volumes or whatever is mounted by a CSI
plugin.

This changeset includes updates to unit tests that should have been failing
under the documented behavior but were not.
2020-11-11 10:03:46 -05:00
Ryan Oaks
b312aacbc9 Remove Netlify config 2020-11-10 09:57:14 -05:00
Byron Wolfman
9609addb3d Document correct default nomad port (#9290) 2020-11-06 16:37:36 -05:00
James Rasell
19c772932b docs: add recommendation CLI documentation. (#9288)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-11-06 16:30:24 +01:00
Mark Lodato
d9bd87760c Fix typo in batch processing use case (#9184)
I believe there’s a typo where “workloads” was changed to “jobs” but the original word wasn’t removed. Or maybe it’s the other way around. But currently there is an orphaned one-word sentence.
2020-11-05 13:01:50 -05:00
Jimmy Merritello
472ea82b69 Bump HSM version (#9264) 2020-11-05 11:47:57 -06:00
Tim Gross
dfa0961272 docs: internals documentation for alloc filesystem (#9195)
We recently added documentation disambiguating the terminology of the
allocation/task working directories. This changeset adds an internals document
that describes in more detail exactly what does into the allocation working
directory, how this interacts with the filesystem isolation provided by task
drivers, and how this interacts with features like `artifact` and `template`.

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
2020-11-04 09:59:19 -05:00
James Rasell
4a3d3cef09 docs: update scaling policy list docs to detail all flags. 2020-11-04 13:36:04 +01:00
Mahmood Ali
25fe20e7bf Merge pull request #9247 from hashicorp/docs-node-12.19
website: require Node v12
2020-11-02 13:15:48 -05:00
Mahmood Ali
bdd4134623 Merge pull request #9205 from hashicorp/b-gh-7703
Repurpose dispatch-job capability to dispatch periodic jobs
2020-11-02 13:11:58 -05:00
Jeff Escalante
e03ec7e7fb downgrade inline svg 2020-11-02 13:02:35 -05:00
Jeff Escalante
eea889c3cb fix an issue where dependencies didn't match and would cause a nextjs render error 2020-11-02 13:02:35 -05:00
Kris Hicks
d8a49bbb68 Add event sink API and CLI commands (#9226)
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-11-02 09:57:35 -08:00
Mahmood Ali
f04cd73997 update docs and changelog 2020-11-02 12:44:03 -05:00
Mahmood Ali
eab8b7389d First draft of HCLv2 docs (#9218)
This is a first draft of HCLv2 docs - I added the details under hcl2 doc with some minimal info highlighting the hcl2 introductions.

As a longer term strategy, we'll want to mimic the Packer HCL docs structure that details all the blocks and allowed expressions/functions in greater details. However, given that the exact functions and templating syntax is still somewhat influx, I opt to push that to another time.
2020-11-02 12:27:53 -05:00
Mahmood Ali
3529caec97 vercel: explicitly set version to v12
v12 is currently the default now,
https://vercel.com/docs/runtimes#official-runtimes/node-js/node-js-version,
but we'd rather be explicit about the version we use and ensure that it
matches local development.
2020-11-02 11:28:47 -05:00
Mahmood Ali
85a07214bd website: require Node v12
Start using Node.js v12.19.0, the most recent active LTS that is
supported by Vercel:
https://vercel.com/docs/runtimes#official-runtimes/node-js/node-js-version
.

The docs now require String.prototype.matchAll, that's part of ES2020
support, and is not available on Node.js 10.x.
2020-11-02 11:24:39 -05:00
Russell Rollins
93c7909951 Use Dockerhub Mirror. (#9220)
Dockerhub is going to rate limit unauthenticated pulls.

Use our HashiCorp internal mirror for builds run through CircleCI.

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2020-11-02 09:28:02 -05:00
James Rasell
9cb81eb9ca Merge pull request #9187 from barakb/master
A non-blocking Kotlin SDK
2020-11-02 08:53:01 +01:00
Tim Gross
1af63e405e docs: remove outdated reference to template.allow_host_source (#9237)
The `template.allow_host_source` configuration was not operable, leading to
the recent security patch in 0.12.6. We forgot to update this piece of the
documentation referring to the correct configuration value.
2020-10-30 15:56:37 -04:00
Jeff Escalante
37b8673193 update dependencies to apply mdx-enhanced build cache fix 2020-10-28 19:22:27 -04:00
James Rasell
bb75ea6568 Merge pull request #9193 from hashicorp/f-dynamic-app-sizing-oss-docs-merge
docs: DAS related documentation updates
2020-10-27 17:32:00 +01:00
James Rasell
179288f675 Merge pull request #9194 from hashicorp/f-autoscaler-policy-eval-agent-docs
docs: update Autoscaler agent docs with policy_eval config params.
2020-10-27 17:30:33 +01:00
Michael Schurter
0e70b3cbad docs: v1.0.0-beta2 released!
Calling it "Beta" even though it's "beta2" since "beta1" was never
published.
2020-10-27 09:24:09 -07:00
James Rasell
ab2bb1cfc0 Merge pull request #9162 from hashicorp/f-gh-8648-docs
docs: add new job scale and scaling-events CLI website docs.
2020-10-27 16:33:38 +01:00
James Rasell
6e43146d64 docs: update autoscaling policy to detail DAS policy syntax. 2020-10-27 16:30:36 +01:00
James Rasell
565b029a59 docs: update autoscaling overview to include DAS overview. 2020-10-27 16:30:07 +01:00
James Rasell
239d80284b docs: add DAS Nomad target plugin to Autoscaling docs. 2020-10-27 16:28:42 +01:00
James Rasell
2069c12fa0 docs: add DAS strategy plugin detail to autoscaling docs. (#479)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-10-27 16:26:09 +01:00
Chris Baker
70d651aa55 docs: updated enterprise page with DAS feature 2020-10-27 16:25:07 +01:00
James Rasell
202ed42986 docs: update scaling policy API docs based on DAS update.
Includes removal of the beta tag from the scaling polices API
endpoints. \o/
2020-10-27 16:24:38 +01:00
James Rasell
e0c9d697de docs: add recommendations API documentation. 2020-10-27 16:23:38 +01:00
Drew Bailey
418d452d43 event sink api docs (#9190) 2020-10-27 10:46:55 -04:00
Kyle MacDonald
ad1f482e92 website: make build logs public
this allows the ability for outside contributors to view website build logs
2020-10-27 09:30:12 -04:00
Barak Bar Orion
10a91a7690 Update libraries-and-sdks.mdx
Add a third-party library, nomad-client is a fully non-blocking Kotlin nomad client with minimal dependencies.
2020-10-27 14:32:46 +02:00
James Rasell
eb844b9ad4 docs: update Autoscaler agent docs with policy_eval config params. 2020-10-27 12:23:27 +01:00
James Rasell
2225dfedc1 docs: add new scaling command website documentation. (#9143)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-10-27 07:15:11 +01:00
James Rasell
824633ceda Merge pull request #9174 from hashicorp/f-bump-website-nomad-version
website: bump default version to 0.12.7.
2020-10-26 13:30:39 +01:00
Allen
522204a8fe Fix command typo of vault token create (#9169) 2020-10-26 08:16:19 -04:00
James Rasell
4efee0979e website: bump default version to 0.12.7. 2020-10-26 13:08:21 +01:00
Michael Schurter
d002a8f391 Merge pull request #9135 from hashicorp/f-namespaces
core: open source namespaces
2020-10-23 10:23:55 -07:00
Kevin Pruett
cebcca19ad Document new expirationDate prop for AlertBanner 2020-10-23 10:52:11 -04:00
Stefan Richter
55d00d77ae 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
e2f73f3d5c 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
078fc63cd4 docs: add new job scale and scaling-events CLI website docs. 2020-10-23 09:30:04 +02:00
Michael Schurter
47b8db8a33 docs: namespaces are oss in Nomad 1.0 2020-10-22 15:26:32 -07:00
Drew Bailey
3347b40d11 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
ca1cb4b484 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
8c7ccb2d49 bump website version to 0.12.6 2020-10-21 14:34:12 -04:00