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.
- 12 Nov, 2020 14 commits
-
-
Dave May authored
* operator debug - add client node filtering arguments * add WaitForClient helper function * use RPC in WaitForClient to avoid unnecessary imports * guard against nil values * move initialization up and shorten test duration * cleanup nodeLookupFailCount logic * only display max node notice if we actually tried to capture nodes
-
Jasmine Dahilig authored
-
Seth Hoenig authored
docs: update brige network subnet docs
-
Seth Hoenig authored
Update the default value for `client.bridge_network_subnet` in docs to match the new value from 99742f26. Was `172.26.66.0/23`, is now `172.26.64.0/20`. Fixes #9316
-
Mahmood Ali authored
ui: Pin ui node version
-
Mahmood Ali authored
Assorted changelog and docs changes
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
The cpuset_cpus flag may be subject to change when we revise cpu management. Also, it's only available in 1.0.0 Beta.
-
Mahmood Ali authored
-
Michael Lange authored
UI: Add missing feature fixture that was introduced while DAS filtering was being implemented
-
Michael Lange authored
-
Seth Hoenig authored
consul: prevent re-registration churn by correctly comparing connect sidecar tags
-
Seth Hoenig authored
Previously, connect sidecars would be re-registered with consul every cycle of Nomad's reconciliation loop around Consul service registrations. This is because part of the comparison used `reflect.DeepEqual` on []string objects, which returns false when one object is `[]string{}` and the other is `[]string{}(nil)`. Unforunately, this was always the case, and every Connect sidecar service would be re-registered on every iteration, which happens every 30 seconds.
-
- 11 Nov, 2020 23 commits
-
-
Mahmood Ali authored
Add cpuset_cpus to docker driver.
-
Michael Lange authored
UI: Add DAS summary table filtering
-
Chris Baker authored
recs cli: fixed bad composition
-
Nick Ethier authored
-
Mahmood Ali authored
When raw_exec is configured with [`no_cgroups`](https://www.nomadproject.io/docs/drivers/raw_exec#no_cgroups), raw_exec shouldn't attempt to create a cgroup. Prior to this change, we accidentally always required freezer cgroup to do stats PID tracking. We already have the proper fallback in place for metrics, so only need to ensure that we don't create a cgroup for the task. Fixes https://github.com/hashicorp/nomad/issues/8565
-
Chris Baker authored
-
Shishir Mahajan authored
-
Shishir Mahajan authored
-
Shishir Mahajan authored
-
Chris Baker authored
changelog addition and fixes
-
Chris Baker authored
added changelog entry for 9311 and re-ordered changelog entries to respect secondary short-to-long ordering
-
Chris Baker authored
Don't ignore nil devices in plugin fingerprint
-
Tim Gross authored
The unpublish workflow requires that we know the mode (RW vs RO) if we want to unpublish the node. Update the hook and the Unpublish RPC so that we mark the claim for release in a new state but leave the mode alone. This fixes a bug where RO claims were failing node unpublish. The core job GC doesn't know the mode, but we don't need it for that workflow, so add a mode specifically for GC; the volumewatcher uses this as a sentinel to check whether claims (with their specific RW vs RO modes) need to be claimed.
-
Chris Baker authored
recommendations CLI: autocomplete support
-
Chris Baker authored
use both job and type query on scaling policy list endpoint
-
Tim Gross authored
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.
-
Chris Baker authored
-
Drew Bailey authored
-
Drew Bailey authored
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Mahmood Ali authored
Custom message when job file is HCL2 incompatible
-
- 10 Nov, 2020 3 commits
-
-
Chris Baker authored
-
Jerome Gravel-Niquet authored
Even if a plugin sends back an empty `[]*device.DeviceGroup`, it's transformed to `nil` during the RPC. Our custom device plugin is returning empty `FingerprintResponse.Devices` very often. Our temporary fix is to send a dummy `*DeviceGroup` if the slice is empty. This has the effect of never triggering the "first fingerprint" and therefore timing out after 50s. In turn, this made our node exceed its hearbeat grace period when restarting it, revoking all vault tokens for its allocations, causing a restart of all our allocations because the token couldn't be renewed. Removing the logic for `f.Devices == nil` does not appear to affect the functionality of the function.
-
Mahmood Ali authored
Use a custom message when the job file is a valid HCL1 but no longer valid under HCL 2 syntax.
-