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.
- 11 Oct, 2022 1 commit
-
-
Tim Gross authored
Nomad runs one logmon process and also one docker_logger process for each running allocation. A naive look at memory usage shows 10-30 MB of RSS, but a closer look shows that most of this memory (ex. all but ~2MB for logmon) is shared (`Shared_Clean` in Linux pmap). But a heap dump of docker_logger shows that it currently has an extra ~2500 KiB of heap (anonymously-mapped unshared memory) used for init blocks coming from the agent code (ex. mostly regexes from go-version, structs, and the Consul SDK). The packages for running logmon, docker_logger, and executor have an init block that parses `os.Args` to drop into their own logic, which prevents them from loading all the rest of the agent code and saves on memory, so this was unexpected. It looks like we accidentally reordered the imports in main to undo some of the work originally done in 404d2d4c. This changeset restores the ordering. A follow-up heap...
-
- 04 Apr, 2022 1 commit
-
-
Seth Hoenig authored
This PR adds support for the raw_exec driver on systems with only cgroups v2. The raw exec driver is able to use cgroups to manage processes. This happens only on Linux, when exec_driver is enabled, and the no_cgroups option is not set. The driver uses the freezer controller to freeze processes of a task, issue a sigkill, then unfreeze. Previously the implementation assumed cgroups v1, and now it also supports cgroups v2. There is a bit of refactoring in this PR, but the fundamental design remains the same. Closes #12351 #12348
-
- 04 Nov, 2021 1 commit
-
-
Mahmood Ali authored
-
- 06 Oct, 2021 1 commit
-
-
Florian Apolloner authored
-
- 31 Aug, 2020 1 commit
-
-
Mahmood Ali authored
-
- 11 Aug, 2020 1 commit
-
-
Lang Martin authored
* renamed: command/debug.go -> command/operator_debug.go * website: rename debug -> operator debug * website/pages/api-docs/agent: name in api docs
-
- 18 Sep, 2019 2 commits
-
-
Mahmood Ali authored
-
Nick Ethier authored
* reduce memory required for logmon, docker_logger and executor processes * comment early importing
-
- 20 Feb, 2019 1 commit
-
-
Danielle Tomlinson authored
This commit uses the go-colorable library to enable support for coloured UI output on Windows. This acts as a compatibility layer that takes standard unix-y terminal codes and translates them into the requisite windows calls as required.
-
- 23 Jan, 2019 1 commit
-
-
Danielle Tomlinson authored
-
- 16 Oct, 2018 1 commit
-
-
Nick Ethier authored
* client/executor: refactor client to remove interpolation * executor: POC libcontainer based executor * vendor: use hashicorp libcontainer fork * vendor: add libcontainer/nsenter dep * executor: updated executor interface to simplify operations * executor: implement logging pipe * logmon: new logmon plugin to manage task logs * driver/executor: use logmon for log management * executor: fix tests and windows build * executor: fix logging key names * executor: fix test failures * executor: add config field to toggle between using libcontainer and standard executors * logmon: use discover utility to discover nomad executable * executor: only call libcontainer-shim on main in linux * logmon: use seperate path configs for stdout/stderr fifos * executor: windows fixes * executor: created reusable pid stats collection utility that can be used in an executor * executor: update fifo.Open calls * executor: fix build * remove executor from...
-
- 30 Mar, 2018 1 commit
-
-
Michael Schurter authored
-
- 29 Mar, 2018 1 commit
-
-
Alex Dadgar authored
This PR allows aliased commands to be autocompleted but still filters them from the help output.
-
- 23 Mar, 2018 1 commit
-
-
Chelsea Holland Komlo authored
-
- 22 Mar, 2018 4 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 21 Mar, 2018 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 13 Oct, 2017 1 commit
-
-
Alex Dadgar authored
-
- 26 Sep, 2017 1 commit
-
-
Alex Dadgar authored
-
- 15 Sep, 2017 3 commits
-
-
Chelsea Holland Komlo authored
-
Chelsea Holland Komlo authored
-
Chelsea Holland Komlo authored
-
- 08 Sep, 2017 2 commits
-
-
Alex Dadgar authored
This PR hides non-user CLI commands from the list of autocomplete suggestions.
-
Alex Dadgar authored
-
- 16 Aug, 2017 1 commit
-
-
Alex Dadgar authored
This PR adds a version package and consolidates version strings into a Version struct.
-
- 26 Jul, 2017 1 commit
-
-
Alex Dadgar authored
-
- 25 Jul, 2017 1 commit
-
-
Alex Dadgar authored
-
- 19 Jul, 2017 1 commit
-
-
Alex Dadgar authored
-
- 17 Jul, 2017 2 commits
-
-
Alex Dadgar authored
This PR adds command autocompletion to the CLI.
-
Alex Dadgar authored
This PR removes our custom handling of the version flag and updates job history to use a version flag instead of `-job-version`.
-
- 07 Jul, 2017 5 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 10 Feb, 2017 1 commit
-
-
Alex Dadgar authored
-
- 09 Feb, 2017 1 commit
-
-
Alex Dadgar authored
-