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.
- 31 Mar, 2021 7 commits
-
-
Mahmood Ali authored
-
zhsj authored
includes updates for breaking changes in runc v1.0.0-rc93
-
Drew Bailey authored
* add a license docs page * license reference docs * update wording * use new docs-nav * rm file held over from rebase, fix path
-
Mahmood Ali authored
Memory oversubscription
-
Bryce Kalow authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
- 30 Mar, 2021 12 commits
-
-
Mahmood Ali authored
Linux offers soft memory limit: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/memory.html#soft-limits , and https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html?highlight=memory.low . We can set soft memory limits through libcontainer `Resources.MemoryReservation`: https://pkg.go.dev/github.com/opencontainers/runc@v0.1.1/libcontainer/configs#Resources
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
Use the MemoryMaxMB as the LinuxResources limit. This is intended to ease drivers implementation and adoption of the features: drivers that use `resources.LinuxResources.MemoryLimitBytes` don't need to be updated. Drivers that use NomadResources will need to updated to track the new field value. Given that tasks aren't guaranteed to use up the excess memory limit, this is a reasonable compromise.
-
Mahmood Ali authored
Allow specifying the `memory_max` field in HCL under the resources block. Though HCLv1 is deprecated, I've updated them to ease our testing.
-
Mahmood Ali authored
This commit updates the API to pass the MemoryMaxMB field, and the CLI to show the max set for the task. Also, start parsing the MemoryMaxMB in hcl2, as it's set by tags. A sample CLI output; note the additional `Max: ` for "task": ``` $ nomad alloc status 96fbeb0b ID = 96fbeb0b-a0b3-aa95-62bf-b8a39492fd5c [...] Task "cgroup-fetcher" is "running" Task Resources CPU Memory Disk Addresses 0/500 MHz 32 MiB/20 MiB 300 MiB Task Events: [...] Task "task" is "running" Task Resources CPU Memory Disk Addresses 0/500 MHz 176 KiB/20 MiB 300 MiB Max: 30 MiB Task Events: [...] ```
-
Mahmood Ali authored
Start tracking a new MemoryMaxMB field that represents the maximum memory a task may use in the client. This allows tasks to specify a memory reservation (to be used by scheduler when placing the task) but use excess memory used on the client if the client has any. This commit adds the server tracking for the value, and ensures that allocations AllocatedResource fields include the value.
-
Tim Gross authored
-
Tim Gross authored
* Fixed order * Added missing changlog entry for GH-10145 * Fixed misclassified entry for GH-10158
-
Bryce Kalow authored
-
Seth Hoenig authored
Automatically populate `CONSUL_HTTP_ADDR` for connect native tasks in host networking mode.
-
- 29 Mar, 2021 4 commits
-
-
Nick Ethier authored
Reserved Cores [1/4]: Structs and scheduler implementation
-
Zachary Shilton authored
* website: use global featured-slider component * website: delete unused local featured-slider
-
Bryce Kalow authored
-
Dave May authored
-
- 28 Mar, 2021 2 commits
-
-
Florian Apolloner authored
Automatically populate `CONSUL_HTTP_ADDR` for connect native tasks in host networking mode. Fixes #10239
-
Chris Baker authored
autoscaler plugin docs
-
- 26 Mar, 2021 8 commits
-
-
Luiz Aoqui authored
-
Tim Gross authored
The OTT feature relies on having a query parameter for a one-time token which gets handled by the UI. We need to make sure that query param is preserved when redirecting from the root URL to the `/ui/` URI.
-
Tim Gross authored
Co-authored-by:
Kris Hicks <khicks@hashicorp.com>
-
Shishir authored
-
Drew Bailey authored
-
Buck Doyle authored
This closes #10146. Because of cibernox/ember-power-select#1203, which documents the current impossibility of attaching test selectors to a PowerSelect invocation, this uses test selectors on parent containers instead, occasionally adding wrappers when needed. I chose to leave the existing test selectors in the hopes that we can return to using them eventually, but I could easily remove them if it seems like extra noise now. Presumably for the same reason, @class no longer works, so this adjusts the scoping of global search CSS to preserve the style of the search control. I also included an update to the latest version of ember-test-selectors, since we were far behind and I tried that before finding the aforelinked issue. Finally, this replaces ember-cli-uglify with ember-cli-terser to address production build failures as described at ember-cli/ember-cli#9290.
-
Mahmood Ali authored
periodic: always reset periodic children status
-
James Rasell authored
api: add Allocation client and server terminal status funcs.
-
- 25 Mar, 2021 7 commits
-
-
Mahmood Ali authored
-
Drew Bailey authored
* allow setting an enterprise license environment variable * update comment * address pr comments
-
Taylor Dolezal authored
-
Michael Lange authored
UI: Showed host reservations and allocation utilization by task on existing stats charts
-
Mahmood Ali authored
-
Mahmood Ali authored
Fixes a bug where Nomad reports negative or incorrect running children counts for periodic jobs. The periodic dispatcher derives a child job without reseting the status. If the periodic job has a `running` status, the derived job will start as `running` status and transition to `pending`. Since this is unexpected transition, the counting in StateStore.setJobSummary gets out of sync and result in negative/incorrect values. Note that this only affects periodic jobs after a leader transition. During the first job registration, the job is added with `pending` or `""` status. However, after a leader transition, the new leader repopulates the dispatcher heap with `"running"` status and triggers the bug.
-
James Rasell authored
-