Commit Graph

21338 Commits

Author SHA1 Message Date
Charlie Voiselle
90da87f6e6 (demo) -> [demo] 2021-05-19 16:30:23 -04:00
mrspanishviking
674ae4b3f1 docs: fixes broken links
Fixed broken links for the remote task driver ECS page
2021-05-19 12:56:08 -07:00
Daniel Durante
cb5a408f1a docs: fixes typo within volume registration page 2021-05-19 08:36:38 -04:00
Tim Gross
e6c4a75bcf docs: ensure definitions have anchors
Move the words being defined in the /docs/internal/architecture page to be
small headers so that they can be linked to with anchors from Learn guides and
other documentation location.
2021-05-18 15:05:11 -04:00
changli0617
b32da80e78 Update alert-banner.js 2021-05-18 13:13:00 -04:00
Tim Gross
36f17285dd Merge pull request #10615 from hashicorp/docs-merge-from-release
merge from release
2021-05-18 13:04:55 -04:00
Tim Gross
aff3a59d17 fix version to be 'dev' 2021-05-18 13:04:35 -04:00
Tim Gross
b685236f05 Merge branch 'release-1.1.0' into main 2021-05-18 13:00:48 -04:00
Mahmood Ali
150195fcc7 Remove 1.1.0 RC merchandising (#10614) 2021-05-18 12:47:04 -04:00
Tim Gross
7deebd00c7 release 1.1.0: bump version and changelog info 2021-05-18 11:56:19 -04:00
Seth Hoenig
707138dfcd Merge pull request #10612 from hashicorp/docs-cl-fmt
docs: run changelogfmt
2021-05-18 09:17:50 -06:00
Seth Hoenig
8a0f54dc46 docs: run changelogfmt 2021-05-18 09:15:55 -06:00
Mike Wickett
b497705920 patch images (#10607) 2021-05-18 11:14:09 -04:00
mrspanishviking
9f76bdf75f Merge pull request #10610 from hashicorp/license-documentation-update
docs: update enterprise license page
2021-05-18 07:48:44 -07:00
mrspanishviking
43201cb4c7 docs: update enterprise license page
Added a link to the enterprise license tutorial and updated the trial link to use the recommended marketing url.
2021-05-18 07:25:54 -07:00
Tim Gross
bfa8f90ba0 e2e: update TF lockfile 2021-05-18 09:35:57 -04:00
Tim Gross
9aef40eaa6 remove unused dist/ directory
The `dist/` directory is unmaintained and gets out of sync with the Linux
packages that we distribute and the documentation found in the Learn
Guides. We even have upstart files for a distro that is out of support!
Remove this directory so that users are not confused.
2021-05-18 09:35:51 -04:00
Jimmy Merritello
c2709e7c3c Add HashiConf alert banner data (#10606) 2021-05-17 15:36:23 -05:00
Nomad Release Bot
4cdb4e494f remove generated files 2021-05-17 20:23:28 +00:00
Nomad Release Bot
f99f1e27bb Release v1.1.0 2021-05-17 20:23:21 +00:00
Bram Vogelaar
56934f9638 Update nomad.service
While working on voxpupuli/puppet-nomad/pull/50 we observed that the released version of this file and the file in this repo are not in sync. This PR brings the systemd service file in sync with what is currently packaged into the rpm and deb packages as released in the HashiCorp repositories. I am not sure how/where to update the  [deployment guide](https://learn.hashicorp.com/tutorials/nomad/production-deployment-guide-vm-with-consul#configure-systemd)
2021-05-17 15:45:03 -04:00
Ahmed
7896c42f72 Update service.mdx 2021-05-17 15:41:50 -04:00
Nomad Release bot
2678c3604b Generate files for 1.1.0 release 2021-05-17 19:41:41 +00:00
Tim Gross
f0856ab526 release version and date 2021-05-17 15:28:42 -04:00
Seth Hoenig
2f924a9df7 Merge pull request #10600 from hashicorp/f-exec-allow_caps
drivers/exec+java: reduce default set of linux capabilities
2021-05-17 15:23:22 -04:00
Seth Hoenig
3f34f936bb Merge pull request #10600 from hashicorp/f-exec-allow_caps
drivers/exec+java: reduce default set of linux capabilities
2021-05-17 13:11:04 -06:00
Seth Hoenig
845a3d3cdc docs: minor wording tweaks + cl 2021-05-17 12:52:52 -06:00
Seth Hoenig
595cef8136 drivers/exec: pass capabilities through executor RPC
Add capabilities to the LaunchRequest proto so that the
capabilities set actually gets plumbed all the way through
to task launch.
2021-05-17 12:37:40 -06:00
Seth Hoenig
683751ddd6 deps: update go mod tidy
Looks like we no longer need a package.
2021-05-17 12:37:40 -06:00
Seth Hoenig
17ec5a5aa8 drivers: fixup linux version dependent test cases
The error output being checked depends on the linux caps supported
by the particular operating system. Fix these test cases to just
check that an error did occur.
2021-05-17 12:37:40 -06:00
Seth Hoenig
7245ac3fc5 docs: update docs for linux capabilities in exec/java/docker drivers
Update docs for allow_caps, cap_add, cap_drop in exec/java/docker driver
pages. Also update upgrade guide with guidance on new default linux
capabilities for exec and java drivers.
2021-05-17 12:37:40 -06:00
Seth Hoenig
c34beb48b1 drivers/docker: reuse capabilities plumbing in docker driver
This changeset does not introduce any functional change for the
docker driver, but rather cleans up the implementation around
computing configured capabilities by re-using code written for
the exec/java task drivers.
2021-05-17 12:37:40 -06:00
Seth Hoenig
9bb4b8fa04 drivers/java: enable setting allow_caps on java driver
Enable setting allow_caps on the java task driver plugin, along
with the associated cap_add and cap_drop options in java task
configuration.
2021-05-17 12:37:40 -06:00
Seth Hoenig
191144c3bf drivers/exec: enable setting allow_caps on exec driver
This PR enables setting allow_caps on the exec driver
plugin configuration, as well as cap_add and cap_drop in
exec task configuration. These options replicate the
functionality already present in the docker task driver.

Important: this change also reduces the default set of
capabilities enabled by the exec driver to match the
default set enabled by the docker driver. Until v1.0.5
the exec task driver would enable all capabilities supported
by the operating system. v1.0.5 removed NET_RAW from that
list of default capabilities, but left may others which
could potentially also be leveraged by compromised tasks.

Important: the "root" user is still special cased when
used with the exec driver. Older versions of Nomad enabled
enabled all capabilities supported by the operating system
for tasks set with the root user. To maintain compatibility
with existing clusters we continue supporting this "feature",
however we maintain support for the legacy set of capabilities
rather than enabling all capabilities now supported on modern
operating systems.
2021-05-17 12:37:40 -06:00
Tim Gross
5a74b36af9 fix missing changelog entries from backports 2021-05-17 10:05:01 -04:00
Tim Gross
78c3a4722e fix missing changelog entries from backports 2021-05-17 10:04:22 -04:00
Michael Schurter
78fd25cbdd Merge pull request #10550 from hashicorp/docs-rtd
Remote Task Driver docs
2021-05-14 10:49:35 -07:00
Michael Schurter
711a05d3ce Apply suggestions from code review
Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2021-05-14 10:45:12 -07:00
changli0617
1f0328406d Update alert-banner.js 2021-05-14 08:35:29 -04:00
Michael Schurter
b68ec47247 docs: mention #10592 in rtd docs 2021-05-13 15:14:56 -07:00
Lars Lehtonen
cded17cbaf client: fix multiple imports (#10537) 2021-05-13 14:30:31 -04:00
Michael Schurter
4393d666ae docs: document remote task drivers & ecs driver 2021-05-13 10:43:46 -07:00
Mahmood Ali
02e585a611 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
a9ec864a1a 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
d52e5f4405 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
9c67910160 website: update 1.1.0-beta1 to 1.1.0-rc1 2021-05-13 08:10:03 -07:00
Georges-Etienne Legendre
f75ceead7a 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
7aa18b6063 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
f2c647f6f3 remove generated files 2021-05-12 23:14:02 +00:00
Nomad Release Bot
5ef8b85736 Release v1.1.0-rc1 2021-05-12 23:13:55 +00:00