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.
- 16 Oct, 2018 24 commits
-
-
Michael Schurter authored
-
Michael Schurter authored
-
Michael Schurter authored
-
Michael Schurter authored
was causing typed nil interface panics and served no purpose
-
Michael Schurter authored
PR #4392 was merged to master *after* allocrunnerv2 was branched, so the client-specific portions must be ported from master to arv2.
-
Michael Schurter authored
Now passing the TaskDir struct to prestart hooks instead of just the root task dir itself as dispatch needs local/.
-
Nick Ethier authored
-
Nick Ethier authored
-
Nick Ethier authored
-
Nick Ethier authored
-
Nick Ethier authored
-
Nick Ethier authored
client: fingerprint driver plugins
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Michael Schurter authored
Leaving fingerprinters in case that interface changes with plugins.
-
Michael Schurter authored
* Stopping an alloc is implemented via Updates but update hooks are *not* run. * Destroying an alloc is a best effort cleanup. * AllocRunner destroy hooks implemented. * Disk migration and blocking on a previous allocation exiting moved to its own package to avoid cycles. Now only depends on alloc broadcaster instead of also using a waitch. * AllocBroadcaster now only drops stale allocations and always keeps the latest version. * Made AllocDir safe for concurrent use Lots of internal contexts that are currently unused. Unsure if they should be used or removed.
-
Michael Schurter authored
Saves a tiny bit of cpu and some IO. Sadly doesn't prevent all IO on duplicate writes as the transactions are still created and committed. $ go test -bench=. -benchmem goos: linux goarch: amd64 pkg: github.com/hashicorp/nomad/helper/boltdd BenchmarkWriteDeduplication_On-4 500 4059591 ns/op 23736 B/op 56 allocs/op BenchmarkWriteDeduplication_Off-4 300 4115319 ns/op 25942 B/op 55 allocs/op
-
Michael Schurter authored
-
Michael Schurter authored
-
Michael Schurter authored
Deregistration works but difficult to test due to terminal updates not being fully implemented in the new client/ar/tr.
-
Michael Schurter authored
-
Alex Dadgar authored
-
Michael Schurter authored
-
- 04 Oct, 2018 1 commit
-
-
Alex Dadgar authored
-
- 15 Sep, 2018 1 commit
-
-
Alex Dadgar authored
-
- 13 Sep, 2018 1 commit
-
-
Alex Dadgar authored
-
- 06 Sep, 2018 1 commit
-
-
Michael Schurter authored
Not setting the host name led the Go HTTP client to expect a certificate with a DNS-resolvable name. Since Nomad uses `${role}.${region}.nomad` names ephemeral dir migrations were broken when TLS was enabled. Added an e2e test to ensure this doesn't break again as it's very difficult to test and the TLS configuration is very easy to get wrong.
-
- 21 Jun, 2018 1 commit
-
-
Andrei Burd authored
-
- 13 Jun, 2018 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 12 Jun, 2018 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-