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.
- 05 May, 2020 1 commit
-
-
Tim Gross authored
-
- 04 May, 2020 2 commits
-
-
Juan Larriba authored
Makes it possible to run Linux Containers On Windows with Nomad alongside Windows Containers. Fingerprint prevents only to run Nomad in Windows 10 with Linux Containers
-
Tim Gross authored
The nil-check here is left-over from an earlier approach that didn't get merged. It doesn't do anything for us now as we can't ever pass it `nil` and if we leave it in the `getVolume` call it guards will panic anyways.
-
- 03 May, 2020 2 commits
-
-
Mahmood Ali authored
Fix URL schema in `drain` documentation
-
Denis Palashevskiy authored
-
- 01 May, 2020 14 commits
-
-
Michael Schurter authored
Update _app.js for Nomad Virtual Day
-
Mahmood Ali authored
Follow up fix for spread
-
Mahmood Ali authored
-
Tim Gross authored
-
Mahmood Ali authored
spread scheduling algorithm
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Charlie Voiselle authored
-
Charlie Voiselle authored
-
Lang Martin authored
In order to minimize this change while keeping a simple version of the behavior, we set `lastOk` to the current time less the intial server connection timeout. If the client starts and never contacts the server, it will stop all configured tasks after the initial server connection grace period, on the assumption that we've been out of touch longer than any configured `stop_after_client_disconnect`. The more complex state behavior might be justified later, but we should learn about failure modes first.
-
Lang Martin authored
- track lastHeartbeat, the client local time of the last successful heartbeat round trip - track allocations with `stop_after_client_disconnect` configured - trigger allocation destroy (which handles cleanup) - restore heartbeat/killable allocs tracking when allocs are recovered from disk - on client restart, stop those allocs after a grace period if the servers are still partioned
-
Drew Bailey authored
temporarily test for 404 until endpoint is ready
-
Drew Bailey authored
-
Drew Bailey authored
License cli
-
- 30 Apr, 2020 21 commits
-
-
changli0617 authored
-
Michael Schurter authored
core: fix node reservation scoring
-
Michael Schurter authored
-
Michael Schurter authored
Co-authored-by:
Alex Dadgar <alex@hashicorp.com>
-
Tim Gross authored
This changeset corrects handling of the `ValidationVolumeCapabilities` response: * The CSI spec for the `ValidationVolumeCapabilities` requires that plugins only set the `Confirmed` field if they've validated all capabilities. The Nomad client improperly assumes that the lack of a `Confirmed` field should be treated as a failure. This breaks the Azure and Linode block storage plugins, which don't set this optional field. * The CSI spec also requires that the orchestrator check the validation responses to guard against older versions of a plugin reporting "valid" for newer fields it doesn't understand.
-
Tim Gross authored
During MVP development, we reduced the timeout for controller plugins to avoid long hangs in GC workers. But now that this work has been moved to the volume watcher, we can restore the original timeout which is better suited for the characteristic timescales of some cloud provider APIs and better matches the behavior of k8s.
-
Tim Gross authored
We should only remove the `ReadAllocs`/`WriteAllocs` values for a volume after the claim has entered the "ready to free" state. The volume will eventually be released as expected. But querying the volume API will show the volume is released before the controller unpublish has finished and this can cause a race with starting new jobs. Test updates are to cover cases where we're dropping claims but not running through the whole reaping process.
-
Drew Bailey authored
-
Drew Bailey authored
-
Drew Bailey authored
help text formatting remove reset no signed option
-
Drew Bailey authored
-
Drew Bailey authored
license cli formatting, license endpoints ent only test oss error type assertions
-
Drew Bailey authored
cli changes, formatting
-
Jasmine Dahilig authored
This adds details about task lifecycles to allocations, task groups, and tasks. It includes a live-updating timeline-like chart on allocations.
-
Tim Gross authored
This changeset adds a subsystem to run on the leader, similar to the deployment watcher or node drainer. The `Watcher` performs a blocking query on updates to the `CSIVolumes` table and triggers reaping of volume claims. This will avoid tying up scheduling workers by immediately sending volume claim workloads into their own loop, rather than blocking the scheduling workers in the core GC job doing things like talking to CSI controllers The volume watcher is enabled on leader step-up and disabled on leader step-down. The volume claim GC mechanism now makes an empty claim RPC for the volume to trigger an index bump. That in turn unblocks the blocking query in the volume watcher so it can assess which claims can be released for a volume.
-
Michael Lange authored
UI: Log streaming bug fix medley
-
Michael Lange authored
-
Michael Lange authored
This would happen because a no connection error happens after the second request fails, but that's because it's assumed the second request is to a server node. However, if a user clicks stderr fast enough, the first and second requests are both to the client node. This changes the logic to check if the request is to the server before deeming log streaming a total failure.
-
Michael Lange authored
-
Michael Lange authored
Typically a failover means that the client can't be reached. However, if the client does eventually return after the timeout period, the log will stream indefinitely. This fixes that using an API that wasn't broadly available at the time this was first written.
-
Michael Lange authored
Now options can be provided without also having to remember to pass credentials. This is convenient for abort controller signals.
-