This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 13 Oct, 2020 2 commits
-
-
Seth Hoenig authored
As newer versions of Consul are released, the minimum version of Envoy it supports as a sidecar proxy also gets bumped. Starting with the upcoming Consul v1.9.X series, Envoy v1.11.X will no longer be supported. Current versions of Nomad hardcode a version of Envoy v1.11.2 to be used as the default implementation of Connect sidecar proxy. This PR introduces a change such that each Nomad Client will query its local Consul for a list of Envoy proxies that it supports (https://github.com/hashicorp/consul/pull/8545) and then launch the Connect sidecar proxy task using the latest supported version of Envoy. If the `SupportedProxies` API component is not available from Consul, Nomad will fallback to the old version of Envoy supported by old versions of Consul. Setting the meta configuration option `meta.connect.sidecar_image` or setting the `connect.sidecar_task` stanza will take precedence as is the current behavior for sidecar proxies. Setting the meta configuration option `meta.connect.gateway_image` will take precedence as is the current behavior for connect gateways. `meta.connect.sidecar_image` and `meta.connect.gateway_image` may make use of the special `${NOMAD_envoy_version}` variable interpolation, which resolves to the newest version of Envoy supported by the Consul agent. Addresses #8585 #7665
-
Tim Gross authored
-
- 12 Oct, 2020 6 commits
-
-
Seth Hoenig authored
env_aws: get ec2 cpu perf data from AWS API
-
Seth Hoenig authored
-
Tim Gross authored
Stop coercing version of new job to 0 in the state_store, so that we can add regions to a multi-region deployment. Send new version, rather than existing version, to MRD to accomodate version-choosing logic changes in ENT. Co-authored-by:
Chris Baker <1675087+cgbaker@users.noreply.github.com>
-
Nick Ethier authored
-
Yoan Blanc authored
Signed-off-by:
Yoan Blanc <yoan@dosimple.ch>
-
Lens0021 authored
-
- 09 Oct, 2020 5 commits
-
-
Jimmy Merritello authored
* Add new HashiStackMenu * Bump version * Bump HSM version and rm meganav styles
-
Tim Gross authored
If a volume GC and a `nomad volume detach` command land concurrently, we can end up with multiple claims without an allocation, which results in extra no-op work when finding claims to collect as past claims.
-
Tim Gross authored
This item was completed in #8626
-
Tim Gross authored
-
Tim Gross authored
When we try to prefix match the `nomad volume detach` node ID argument, the node may have been already GC'd. The volume unpublish workflow gracefully handles this case so that we can free the claim. So make a best effort to find a node ID among the volume's claimed allocations, or otherwise just use the node ID we've been given by the user as-is.
-
- 08 Oct, 2020 9 commits
-
-
Tim Gross authored
CSI plugins with the same plugin ID and type (controller, node, monolith) will collide on a host, both in the communication socket and in the dynamic plugin registry. Until this can be fixed, leave notice to operators in the documentation.
-
Seth Hoenig authored
-
Seth Hoenig authored
-
Ryan Oaks authored
docs: Update redirects to use a broader catch-all for routes ending in .html
-
Seth Hoenig authored
Previously, Nomad was using a hand-made lookup table for looking up EC2 CPU performance characteristics (core count + speed = ticks). This data was incomplete and incorrect depending on region. The AWS API has the correct data but requires API keys to use (i.e. should not be queried directly from Nomad). This change introduces a lookup table generated by a small command line tool in Nomad's tools module which uses the Amazon AWS API. Running the tool requires AWS_* environment variables set. $ # in nomad/tools/cpuinfo $ go run . Going forward, Nomad can incorporate regeneration of the lookup table somewhere in the CI pipeline so that we remain up-to-date on the latest offerings from EC2. Fixes #7830
-
Tim Gross authored
The CSI specification for `ValidateVolumeCapability` says that we shall "reconcile successful capability-validation responses by comparing the validated capabilities with those that it had originally requested" but leaves the details of that reconcilation unspecified. This API is not implemented in Kubernetes, so controller plugins don't have a real-world implementation to verify their behavior against. We have found that CSI plugins in the wild may return "successful" but incomplete `VolumeCapability` responses, so we can't require that all capabilities we expect have been validated, only that the ones that have been validated match. This appears to violate the CSI specification but until that's been resolved in upstream we have to loosen our validation requirements. The tradeoff is that we're more likely to have runtime errors during `NodeStageVolume` instead of at the time of volume registration.
-
Ryan Oaks authored
-
Tim Gross authored
Volumes using attachment mode `file-system` use the CSI filesystem API when they're mounted, and can be passed mount options. But `block-device` mode volumes don't have this option. When RPCs are made to plugins, we are silently dropping the mount options we don't expect to see, but this results in a poor operator experience when the mount options aren't honored. This changeset makes passing mount options to a `block-device` volume a validation error.
-
Tim Gross authored
The CSI specification allows only the `file-system` attachment mode to have mount options. The `block-device` mode is left "intentionally empty, for now" in the protocol. We should be validating against this problem, but our documentation also had it backwards. Also adds missing mount_options on group volume.
-
- 07 Oct, 2020 4 commits
-
-
Ryan Oaks authored
Update docs site to deploy to Vercel instead of Netlify
-
Ryan Oaks authored
-
Tim Gross authored
Fixes a bug where the `nomad volume detach` command would not accept a node ID prefix instead of a full node ID. The volume ID is already prefix matched server-side.
-
Tim Gross authored
Fixes a bug where CSI volumes with the `MULTI_NODE_MULTI_WRITER` access mode were using the same logic as `MULTI_NODE_SINGLE_WRITER` to determine whether the volume had writer claims available for scheduling. Extends CSI claim endpoint test to exercise multi-reader and make sure `WriteFreeClaims` is exercised for multi-writer in feasibility test.
-
- 06 Oct, 2020 14 commits
-
-
Seth Hoenig authored
deps: update aws-sdk-go for ec2metadata bugfix
-
Seth Hoenig authored
Newer versions of aws-sdk-go contain a bugfix for retrieving region vs availability-zone information.
-
James Rasell authored
changelog: add entries for #9023 and #9025
-
James Rasell authored
cli: add scale and scaling-events commands to job cmd.
-
Dave May authored
Add metrics command / output to debug bundle
-
davemay99 authored
-
James Rasell authored
-
Seth Hoenig authored
Do not double-remove checks removed by Consul
-
davemay99 authored
-
davemay99 authored
-
davemay99 authored
-
Drew Bailey authored
-
James Rasell authored
cli: add policy list and info to new scaling cmd.
-
James Rasell authored
-