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.
- 19 Dec, 2018 7 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
Convert driver resource to AllocatedTaskResource
-
Preetha authored
Affinities e2e tests
-
Preetha Appan authored
-
Danielle Tomlinson authored
allocrunner: Async api for shutdown/destroy/update
-
- 18 Dec, 2018 22 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Danielle Tomlinson authored
taskrunner: Use a random suffix for Task Config
-
Danielle Tomlinson authored
The RestartCount is not really suitable for use as a source of uniqueness within task invocations as it is not monotonic, and interacts with the restart stanza in a users config, so conflates restarts due to task failures, with restarts due to enviromental changes, such as consul template or vault secrets changing. Here we instead use a substring from a uuid, which is more random than we strictly need, but is nicer than rolling our own random string generator here.
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
This creates a new buffered channel and goroutine on the allocrunner for serializing updates to allocations. This allows us to take updates off the routine that is used from processing updates from the server, without having complicated machinery for tracking update lifetimes, or other external synchronization. This results in a nice performance improvement and signficantly better throughput on batch changes such as preempting a large number of jobs for a larger placement.
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
This commit reduces the locking required to shutdown or destroy allocrunners, and allows parallel shutdown and destroy of allocrunners during shutdown.
-
Omar Khawaja authored
* removing dead link * comment out header and footer to UI demo * adding reference to link back and commenting it out
-
Preetha authored
Terraform configs for e2e tests
-
Preetha Appan authored
-
Michael Lange authored
UI: Hide stats graphs for non running resources
-
Danielle Tomlinson authored
docker: Delete Task on Destroy
-
Danielle Tomlinson authored
Currently the docker driver does not remove tasks from its state map when destroying the task, which leads to issues when restarting tasks in place, and leaks expired handles over time.
-
- 17 Dec, 2018 6 commits
-
-
Michael Lange authored
UI: Bugs around dots in task/task-group/driver names
-
Preetha Appan authored
-
Jack Pearkes authored
-
Danielle Tomlinson authored
client: Give a copy of clientconfig to allocrunner
-
Danielle Tomlinson authored
client: Emit TaskEvents when task hooks fail
-
Danielle Tomlinson authored
-
- 16 Dec, 2018 2 commits
-
-
Mahmood Ali authored
I intended to remove this line in 29ef7ecf - see my notes there for details.
-
Mahmood Ali authored
The environment variables needed for envoking `rkt` command line should include host PATH (to access `iptables`). Given that the command runs outside the VM, untrusted task environment variables should NOT be honored here. We do this already with `rkt`, but the change is quite subtle to miss when refactoring.
-
- 15 Dec, 2018 3 commits
-
-
Mahmood Ali authored
Fix flakiness in docker tests
-
Mahmood Ali authored
The assertion here is causing many spurious failures that aren't actually relevant to the test itself. We are tracking the cause for this failure independently, and it would make more sense to have a dedicated test for clean shutdown.
-
Mahmood Ali authored
We already have two other Kill tests (e.g. TestDockerDriver_Start_Kill_Wait and TestDockerDriver_Start_KillTimeout), so don't need yet another flaky test.
-