Commit Graph

1733 Commits

Author SHA1 Message Date
Tim Gross
ffb83e1ef1 client/template: configuration for function blacklist and sandboxing
When rendering a task template, the `plugin` function is no longer
permitted by default and will raise an error. An operator can opt-in
to permitting this function with the new `template.function_blacklist`
field in the client configuration.

When rendering a task template, path parameters for the `file`
function will be treated as relative to the task directory by
default. Relative paths or symlinks that point outside the task
directory will raise an error. An operator can opt-out of this
protection with the new `template.disable_file_sandbox` field in the
client configuration.
2019-08-12 16:34:48 -04:00
David Cohen
ff7c0d0406 syntax fix; add example for alloc exec -task 2019-08-09 10:16:45 -04:00
defau1t
8c301f07bd Fix Rkt driver requirements list (#6093) 2019-08-08 12:03:41 -05:00
Michael Schurter
d45a32240f Merge pull request #6003 from pete-woods/add-job-status-metrics
nomad: add job status metrics
2019-08-07 08:02:16 -07:00
Nick Ethier
3fef9836f1 Merge network namespaces work into master (#6046)
Merge network namespaces work into master
2019-07-31 11:03:17 -04:00
Mahmood Ali
8262ddf5eb Merge pull request #6035 from jrasell/patch-6
Update example setup to use non-deprecated join
2019-07-31 02:27:51 -05:00
Nick Ethier
f5a68698c1 Update website/source/docs/drivers/docker.html.md
Co-Authored-By: Michael Schurter <michael.schurter@gmail.com>
2019-07-31 01:04:08 -04:00
Nick Ethier
cf65bbe47c docker: allow configuration of infra image 2019-07-31 01:04:07 -04:00
Nick Ethier
0cdefcf1f3 website: add new networking related client config docs 2019-07-31 01:04:07 -04:00
Michael Schurter
c52edb3287 Merge pull request #5978 from pete-woods/configurable-job-gc-interval
command/agent: allow the job GC interval to be configured
2019-07-30 15:54:29 -07:00
James Rasell
39525d7496 Update example setup to use non-deprecated join 2019-07-30 14:54:52 +02:00
Michael Schurter
83b78cfdf8 docs: job names are unique by region/namespace
"globally" is incorrect here unless you're running 1 region or at least
only 1 per planet.

Sorted link list at the bottom as well.
2019-07-29 08:00:28 -07:00
Pete Woods
d07ea34b0c Add job status metrics
This avoids having to write services to repeatedly hit the jobs API
2019-07-26 10:12:49 +01:00
Pete Woods
66bf8eb599 Allow the job GC interval to be configured from default of 5 minutes 2019-07-26 10:11:25 +01:00
Preetha Appan
e76bb99915 fix grammar 2019-07-25 21:03:20 -05:00
Lang Martin
0fed5eb16f docs for linux raw_exec cgroups 2019-07-24 12:36:49 -04:00
Preetha
b2cfc5ee12 Merge pull request #5985 from hashicorp/b-enterprise-docs-guides-links
Fix links to namespace and quotas guides
2019-07-22 13:54:25 -05:00
Mahmood Ali
037d613f11 Merge pull request #5989 from hashicorp/d-fix-bashism-text
Clarify script checks requiring shell
2019-07-22 19:41:07 +08:00
Mahmood Ali
623ada810d Clarify script checks requiring shell
Closes https://github.com/hashicorp/nomad/issues/5981
2019-07-22 18:34:59 +08:00
Buck Doyle
f61ec2335e Fix links to namespace and quotas guides 2019-07-19 12:45:28 -05:00
tariq87
81544bac72 Update index.html.md 2019-07-19 09:21:20 +05:30
cneira
290ddea792 fixup 2019-07-12 17:08:23 -04:00
cneira
bcf3b8eefb Merge branch 'jail-task-driver' of https://github.com/cneira/nomad into jail-task-driver 2019-07-12 16:52:22 -04:00
cneira
8181d59c7b fixup 2019-07-12 16:52:19 -04:00
Carlos Neira
4bdea17705 Update jail-task-driver.html.md 2019-07-12 11:45:56 -04:00
Carlos Neira
111d615099 Fixed LXC reference 2019-07-12 11:27:47 -04:00
cneira
38018d7a8c Added Community task driver for FreeBSD jails 2019-07-11 13:43:16 -04:00
Jasmine Dahilig
3fdb3cbe33 Merge pull request #5846 from hashicorp/f-docker-log-constraints
add log rotation to docker driver log defaults
2019-07-03 10:17:19 -07:00
Jasmine Dahilig
8e7a2d0765 default to json-file log rotation for docker driver 2019-07-03 09:04:45 -07:00
Yishan Lin
21f07c25c9 Merge pull request #5804 from hashicorp/yishan/revised-enterprise-docs
Revised Nomad Enterprise page
2019-07-01 10:41:32 -07:00
Yishan Lin
5262102a94 Updated with suggestions. 2019-07-01 10:39:35 -07:00
Robert James Hernandez
96662bae97 Update website example config 2019-06-23 10:41:48 -07:00
Omar Khawaja
6d889fe884 [WIP] Add telemetry overview section (#5529)
* re-arrange telemetry docs and add overview with navigation

* update job and task status section

* fix navigation

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/metrics.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/metrics.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* fix formatting for nomad.plan.evaluate metric

* clarifications on collection interval and namespace labell

* fix typo

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>
2019-06-19 15:25:14 -04:00
Preetha Appan
aba8d42811 Add links to godoc for raft related metrics 2019-06-19 11:59:05 -05:00
Preetha Appan
425bd4f540 docs for new metrics 2019-06-17 15:51:49 -05:00
Yishan Lin
9de458457e Added revised copy from rcgenova to feature paragraphs. 2019-06-14 11:25:30 -07:00
Nick Ethier
e19921b47c Optional Consul service tags for nomad server and agent services (#5706)
Optional Consul service tags for nomad server and agent services
2019-06-13 09:00:35 -04:00
Yishan Lin
7cfc92e26f Revised Nomad Enterprise page
- Revised Enterprise content to reflect new pricing & packaging modules
- Consolidated feature pages into single Enterprise pager
- Made each feature into its own subsection on the Enterprise page
- Added direct links to their respective guides below
- Upleveled all Enterprise features onto the navbar
- Updated redirects
2019-06-10 14:08:15 -07:00
Mahmood Ali
85c449b766 Merge pull request #5776 from hashicorp/b-flaky-e2e-test
flaky e2e test
2019-06-06 20:26:17 -04:00
john-lay
0abbbc6163 Update the link to point to #mapped-ports 2019-06-06 17:44:01 +01:00
john-lay
9372fb74b9 Fix a website link under Runtime Environment
Under the `Network-related Variables` the `NOMAD_HOST_PORT_<label>` has
a incorrect link.
2019-06-06 14:28:30 +01:00
Preetha Appan
54be46e7fc revert 0.9.2 super script tags 2019-06-05 20:39:22 +05:30
Rob Genova
3e067bf6b8 Adds Enterprise docs for Preemption 2019-06-04 23:05:25 +00:00
Mahmood Ali
b170ef9a03 link to flag from alloc exec doc 2019-06-04 14:37:56 -04:00
Lang Martin
9b0ae12358 deployment update website examples to say 'requires manual promotion' 2019-06-04 13:45:44 -04:00
Mahmood Ali
5a597f4947 client config flag to disable remote exec
This exposes a client flag to disable nomad remote exec support in
environments where access to tasks ought to be restricted.

I used `disable_remote_exec` client flag that defaults to allowing
remote exec. Opted for a client config that can be used to disable
remote exec globally, or to a subset of the cluster if necessary.
2019-06-03 15:31:39 -04:00
Mahmood Ali
ab5ec50c57 docs: Tag all 0.9.2 features 2019-05-23 10:51:03 -04:00
Lang Martin
0da3ee574f website more explicit auto_promote instructions 2019-05-22 12:34:57 -04:00
Lang Martin
f4701e69b9 Update website/source/docs/job-specification/update.html.md
Co-Authored-By: Michael Schurter <michael.schurter@gmail.com>
2019-05-22 12:34:57 -04:00
Lang Martin
5ac416a04a website update auto_promote doc 2019-05-22 12:32:08 -04:00