Lars Lehtonen
c50c6f6ee6
client: fix multiple imports ( #10537 )
2021-05-13 14:30:31 -04:00
Michael Schurter
9eedb124ad
docs: document remote task drivers & ecs driver
2021-05-13 10:43:46 -07:00
Mahmood Ali
abf6418976
add a section about memory oversubscription ( #10573 )
...
add a section about memory oversubscription
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2021-05-13 13:35:51 -04:00
Buck Doyle
7b42bb0e2d
ui: Fix server list leader determination for IPv6 ( #10530 )
...
This closes #10513 , thanks to @bastelfreak for the report.
GET /status/leader returns an IPv6 host with square brackets
around the IP address as expected, but the rpcAddr property
on the agent model does not.
This fixes rpcAddr, updates the Mirage /status/leader mock
to properly format an IPv6 host, and changes the agent
factory to sometimes produce IPv6 addresses.
I added a formatHost utility function to centralise the
conditional square bracket-wrapping that would have
otherwise been further scattered around.
2021-05-13 12:29:51 -05:00
Michael Schurter
c8ec7aa642
Merge pull request #10585 from hashicorp/docs-1.1.0-rc1
...
website: update 1.1.0-beta1 to 1.1.0-rc1
2021-05-13 08:16:30 -07:00
Michael Schurter
fdb13f4913
website: update 1.1.0-beta1 to 1.1.0-rc1
2021-05-13 08:10:03 -07:00
Georges-Etienne Legendre
5ad8c8136a
Fix exec not working for another region ( #10539 )
...
This conditionally includes a region query parameter when
opening the exec socket.
2021-05-13 09:14:16 -05:00
Tim Gross
d161d79b67
docs: fix fields in 'volume create' example
...
The `capacity` block was removed during implementation in lieu of the
`capacity_max` and `capacity_min` fields, but it wasn't removed from the
example in the documentation.
2021-05-13 08:48:49 -04:00
Nomad Release Bot
412081a3e1
remove generated files
2021-05-12 23:14:02 +00:00
Nomad Release Bot
c44b2d1a9c
Release v1.1.0-rc1
2021-05-12 23:13:55 +00:00
Nomad Release bot
5be44af07d
Generate files for 1.1.0-rc1 release
2021-05-12 22:43:48 +00:00
Seth Hoenig
701f8a2e4e
Merge pull request #10577 from joel0/cf-capitalization
...
minor: update 'Cloudflare' capitalization
2021-05-12 16:34:20 -06:00
Joel May
bfaf8cf040
minor: update 'Cloudflare' capitalization
2021-05-12 15:15:54 -07:00
Michael Schurter
103eb6f60a
Merge pull request #10574 from hashicorp/docs-1.0.5
...
update website to Nomad 1.0.5
2021-05-12 14:31:06 -07:00
Michael Schurter
40d69664e8
update website to Nomad 1.0.5
2021-05-12 14:25:48 -07:00
Michael Schurter
6393ed1295
Merge pull request #10572 from hashicorp/cve-2021-32575
...
drivers/docker+exec+java: disable net_raw capability by default
2021-05-12 14:21:25 -07:00
Seth Hoenig
1e75f99839
drivers/docker+exec+java: disable net_raw capability by default
...
The default Linux Capabilities set enabled by the docker, exec, and
java task drivers includes CAP_NET_RAW (for making ping just work),
which has the side affect of opening an ARP DoS/MiTM attack between
tasks using bridge networking on the same host network.
https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
This PR disables CAP_NET_RAW for the docker, exec, and java task
drivers. The previous behavior can be restored for docker using the
allow_caps docker plugin configuration option.
A future version of nomad will enable similar configurability for the
exec and java task drivers.
2021-05-12 13:22:09 -07:00
Kendall Strautman
4dd26c8aa2
content: swap out diagrams with typos ( #10571 )
2021-05-12 08:50:20 -07:00
Drew Bailey
a805cd8f52
check and return error from parsing var-files ( #10569 )
...
* check and return error from parsing var-files
* changelog entry for 1.1.0 and 1.0.5
2021-05-12 09:08:59 -04:00
Kyle MacDonald
b2344c829c
website: set up /trial redirection ( #10565 )
2021-05-11 11:10:34 -05:00
Isabel Suchanek
ed9e12cdc7
Clean up docker driver test to make it less flaky ( #10559 )
...
Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2021-05-10 14:58:19 -07:00
Tim Gross
d4465f01ac
E2E: remove references to nomad_sha
2021-05-10 16:42:39 -04:00
Mahmood Ali
a33ec72dd7
e2e: enable memory oversubscription ( #10557 )
...
Enable memory oversubscription for the oversubscription tests.
2021-05-10 14:33:47 -04:00
Mike Nomitch
859fa96308
docs: add detail to 1.1 upgrade guide for licensing
2021-05-10 12:28:05 -04:00
Mike Noordermeer
2445bece66
docs: clarify that a default update strategy is used when update strategy is omitted
2021-05-10 08:27:22 -04:00
Isabel Suchanek
b5a2f48c78
Fix test panic in docker driver test
2021-05-07 12:12:33 -07:00
Luiz Aoqui
3e4a3ff8eb
docs: restructure autoscaling plugins menu ( #10534 )
...
* docs: restructure autoscaling plugins menu
* docs: add autoscaling threshold strategy (#10535 )
2021-05-07 14:21:50 -04:00
Chris Baker
263ddd567c
Node Drain Metadata ( #10250 )
2021-05-07 13:58:40 -04:00
Tim Gross
1fdb4c1511
documentation for disable_default_tcp_check
2021-05-07 13:16:39 -04:00
Mahmood Ali
102763c979
Support disabling TCP checks for connect sidecar services
2021-05-07 12:10:26 -04:00
Seth Hoenig
d8083fa053
Merge pull request #10543 from hashicorp/docs-consul-grpc-addr
...
docs: add agent consul grpc_address docs
2021-05-07 09:32:04 -06:00
Seth Hoenig
62d76ee63a
docs: add agent consul grpc_address docs
...
We already supported this configuration, but forgot to document it.
2021-05-07 09:25:09 -06:00
Tim Gross
6237224681
update golang to 1.16.4
2021-05-07 11:06:54 -04:00
Seth Hoenig
20ae274ecb
Merge pull request #10532 from hashicorp/docs-fixup-dc-region-arch-words-10515
...
docs: fixup wording around datacenters and regions on architecture docs
2021-05-07 09:02:43 -06:00
dependabot[bot]
08203e5a34
ui: build(deps): bump underscore from 1.12.0 to 1.13.1 in /ui ( #10525 )
...
Bumps [underscore](https://github.com/jashkenas/underscore ) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases )
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.0...1.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 09:38:16 -05:00
dependabot[bot]
fc68752e7d
ui: build(deps): bump url-parse from 1.4.7 to 1.5.1 in /ui ( #10528 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 09:35:07 -05:00
Mahmood Ali
488cd1e336
annotate 1.1 beta fields
2021-05-07 10:21:16 -04:00
Mahmood Ali
931a58991b
Remove a stale note about 0.9 scheduler config
2021-05-07 10:21:16 -04:00
Mike Nomitch
e1298e4704
Moving licensing to the top of the upgrade guide and clarifying wording
2021-05-07 08:17:17 -04:00
Mike Nomitch
fa7f03f6f5
website: adding trial links
2021-05-07 08:17:17 -04:00
Seth Hoenig
9668c3e429
docs: fixup wording around datacenters and regions on architecture docs
...
Part of #10515
2021-05-06 16:18:02 -06:00
dependabot[bot]
c64025ad70
ui: build(deps): bump lodash from 4.17.20 to 4.17.21 in /ui ( #10526 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 15:34:39 -05:00
dependabot[bot]
c2fe8902cd
ui: build(deps): bump handlebars from 4.7.6 to 4.7.7 in /ui ( #10527 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 13:24:55 -05:00
Zachary Shilton
9f14bb2c67
website: support hidden pages in nav-data ( #10510 )
...
* website: bump to docs-page prerelease with hidden page support
* website: remove temp check for hidden pages, covered by docs-page
* website: bump to stable docs-page, w next-mdx-remote bump
2021-05-06 13:20:03 -04:00
Buck Doyle
588ab6fb30
docs: Fix missing link to operator debug ( #10523 )
2021-05-06 11:29:41 -05:00
Isabel
466a03f35c
Merge pull request #10441 from hashicorp/b-docker-stopsignal
...
drivers/docker: add support for STOPSIGNAL
2021-05-05 11:24:03 -07:00
Isabel Suchanek
cb4fc53353
drivers/docker: add support for STOPSIGNAL
...
This fixes a bug where Nomad overrides a Dockerfile's STOPSIGNAL with
the default kill_signal (SIGTERM).
This adds a check for kill_signal. If it's not set, it calls
StopContainer instead of Signal, which uses STOPSIGNAL if it's
specified. If both kill_signal and STOPSIGNAL are set, Nomad tries to
stop the container with kill_signal first, before then calling
StopContainer.
Fixes #9989
2021-05-05 10:27:58 -07:00
Mahmood Ali
5ea431a792
expose NOMAD_MEMORY_MAX_LIMIT env var ( #10514 )
...
Follow up to memory oversubscription - expose an env-var to indicate when memory oversubscription is enabled and what the limit is.
This will be helpful for setting hints to app for memory management.
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2021-05-05 12:09:56 -04:00
Kendall Strautman
43bce89443
chore(website): update downloads page ( #10509 )
...
* style(downloads): adds releaseCandidate style
* refactor(downloads): use mktg-logos asset
2021-05-05 08:15:46 -07:00
Nick Ethier
42bbe6978d
website: reserved cores docs
2021-05-05 08:11:41 -04:00