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, 2021 3 commits
-
-
Kendall Strautman authored
* style(downloads): adds releaseCandidate style * refactor(downloads): use mktg-logos asset
-
Nick Ethier authored
-
Nick Ethier authored
-
- 04 May, 2021 2 commits
-
-
Mahmood Ali authored
This commit ensures Nomad captures the task code more reliably even when the task is killed. This issue affect to `raw_exec` driver, as noted in https://github.com/hashicorp/nomad/issues/10430 . We fix this issue by ensuring that the TaskRunner only calls `driver.WaitTask` once. The TaskRunner monitors the completion of the task by calling `driver.WaitTask` which should return the task exit code on completion. However, it also could return a "context canceled" error if the agent/executor is shutdown. Previously, when a task is to be stopped, the killTask path makes two WaitTask calls, and the second returns "context canceled" occasionally because of a "race" in task shutting down and depending on driver, and how fast it shuts down after task completes. By having a single WaitTask call and consistently waiting for the task, we ensure we capture the exit code reliably before the executor is shutdown or the contexts expired. I opted to chang...
-
Drew Bailey authored
-
- 03 May, 2021 13 commits
-
-
Kendall Strautman authored
* style: update gray brand colors * style: update brand colors * chore: upgrade react-components deps * chore: update text split cta link color * style(home): update icons * refactor(home): use learn-callout component * style(downloads): temporary color override * style(community): fix link color * Update website/pages/community/style.css Co-authored-by:
Zachary Shilton <4624598+zchsh@users.noreply.github.com> * update package-lock * update deps * add new downloads page * remove extra husky script * chore: upgrades nextjs-scripts dep * chore: upgrades community page vertical text block list * chore: test component pre-releases * chore: upgrade deps chore: upgrades nextjs-scripts * chore: update home icon colors * chore: update home logo grid * chore(website): upgrade deps * style: adjust features icons border radius * style: home hero bg to secondary * chore: upgrade deps for body copy col...
-
Brandon Romano authored
Updates website banner for Nomad 1.1
-
Brandon Romano authored
-
Buck Doyle authored
This closes #10489. It adds `dependentKeyCompat` to the allocation getter so it works as expected as a dependent key for the `tracker` computed property, as described here: https://guides.emberjs.com/release/upgrading/current-edition/tracked-properties/#toc_backwards-compatibility
-
Seth Hoenig authored
demo: apply hclfmt to ceph files
-
Tim Gross authored
The error returned from the stdlib's `exec` package is always a message with the exit code of the exec'd process, not any error message that process might have given us. This results in opaque failures for the Nomad user. Cast to an `ExitError` so that we can access the output from stderr.
-
Seth Hoenig authored
-
Seth Hoenig authored
connect: use deterministic injected dynamic exposed port label
-
Tim Gross authored
This changeset expands on the existing demonstration we had for Ceph by showing volume creation. It includes a demo setup for Ceph on Vagrant so that you don't need a whole Ceph cluster to try it out.
-
Charlie Voiselle authored
-
Andy Assareh authored
when troubleshooting it is better if this command will actually work (pointing to a real repository)
-
Michael Schurter authored
-
Mahmood Ali authored
-
- 30 Apr, 2021 15 commits
-
-
Seth Hoenig authored
This PR uses the checksum of the check for which a dynamic exposed port is being generated (instead of a UUID prefix) so that the generated port label is deterministic. This fixes 2 bugs: - 'job plan' output is now idempotent for jobs making use of injected ports - tasks will no longer be destructively updated when jobs making use of injected ports are re-run without changing any user specified part of job config. Closes: https://github.com/hashicorp/nomad/issues/10099
-
Michael Schurter authored
docs: add #9895 to the changelog
-
Michael Schurter authored
-
Tim Gross authored
-
Mahmood Ali authored
* update docs * document memory_oversubscription_enabled scheduler config
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Michael Schurter authored
core: propagate remote task handles
-
Michael Schurter authored
-
Michael Schurter authored
No need to specify a version in the contributing docs. Let `make bootstrap` handle that.
-
Michael Schurter authored
-
Tim Gross authored
-
Buck Doyle authored
Similarly to 735f056, this won’t happen with real data, but can happen in the current Mirage factory setup.
-
Mahmood Ali authored
-
Mahmood Ali authored
Cluster operators want to have better control over memory oversubscription and may want to enable/disable it based on their experience. This PR adds a scheduler configuration field to control memory oversubscription. It's additional field that can be set in the [API via Scheduler Config](https://www.nomadproject.io/api-docs/operator/scheduler), or [the agent server config](https://www.nomadproject.io/docs/configuration/server#configuring-scheduler-config). I opted to have the memory oversubscription be an opt-in, but happy to change it. To enable it, operators should call the API with: ```json { "MemoryOversubscriptionEnabled": true } ``` If memory oversubscription is disabled, submitting jobs specifying `memory_max` will get a "Memory oversubscription is not enabled" warnings, but the jobs will be accepted without them accessing the additional memory. The warning message is like: ``` $ nomad job run /tmp/j Job Warnings: 1 warning(s): * Memory oversubscription is not enabled; Task cache.redis memory_max value will be ignored ==> Monitoring evaluation "7c444157" Evaluation triggered by job "example" ==> Monitoring evaluation "7c444157" Evaluation within deployment: "9d826f13" Allocation "aa5c3cad" created: node "9272088e", group "cache" Evaluation status changed: "pending" -> "complete" ==> Evaluation "7c444157" finished with status "complete" # then you can examine the Alloc AllocatedResources to validate whether the task is allowed to exceed memory: $ nomad alloc status -json aa5c3cad | jq '.AllocatedResources.Tasks["redis"].Memory' { "MemoryMB": 256, "MemoryMaxMB": 0 } ```
-
- 29 Apr, 2021 6 commits
-
-
Luiz Aoqui authored
* docs: add FAQ for Docker Desktop for Windows and MacOS * docs: add win * docs: add docker desktop note to docker driver page
-
Michael Lange authored
This rethinks namespaces as a filter on list pages rather than a global setting. The biggest net-new feature here is being able to select All (*) to list all jobs or CSI volumes across namespaces.
-
Luiz Aoqui authored
-
Luiz Aoqui authored
* add metrics for blocked eval resources * docs: add new blocked_evals metrics * fix to call `pruneStats` instead of `stats.prune` directly
-
Michael Schurter authored
-
Buck Doyle authored
-
- 28 Apr, 2021 1 commit
-
-
Buck Doyle authored
This is the first step in #10268. If a maximum is not specified, the task group sum uses the memory number instead. The maximum is only shown when it’s higher than the memory sum.
-