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.
- 04 Aug, 2022 4 commits
-
-
Luiz Aoqui authored
UID/GID 0 is usually reserved for the root user/group. While Nomad clients are expected to run as root it may not always be the case. Setting these values as -1 if not defined will fallback to the pervious behaviour of not attempting to set file ownership and use whatever UID/GID the Nomad agent is running as. It will also keep backwards compatibility, which is specially important for platforms where this feature is not supported, like Windows.
-
Luiz Aoqui authored
When a QEMU task is recovered the monitor socket path was not being restored into the task handler, so the `graceful_shutdown` configuration was effectively ignored if the client restarted.
-
Luiz Aoqui authored
The `timestamp` HCL2 function was never part of the set of supported functions.
-
Seth Hoenig authored
nsd: add support for setting headers on nomad service http checks
-
- 03 Aug, 2022 12 commits
-
-
Derek Strickland authored
* add Nomad RetryConfig to agent template config
-
Phil Renaud authored
New variable creation adds the first namespace in your available list at variable creation time (#13991) * New variable creation adds the first namespace in your available list at variable creation time * Changelog
-
Seth Hoenig authored
ui: fix zero memory utilization bug on systems using cgroups v2
-
Seth Hoenig authored
-
Phil Renaud authored
-
Phil Renaud authored
-
Phil Renaud authored
-
Phil Renaud authored
-
Jai authored
-
Phil Renaud authored
-
Seth Hoenig authored
This PR enables setting of the headers block on services registered into Nomad's service provider. Works just like the existing support in Consul checks.
-
Seth Hoenig authored
nsd: add support for specifying check.method in nomad service checks
-
- 02 Aug, 2022 15 commits
-
-
Seth Hoenig authored
This PR fixes a bug where allocation memory usage is always zero on Linux systems where the kernel is configured to use cgroups v2.
-
Piotr Kazmierczak authored
* Adds Uid/Gid parameters to template. * Updated diff_test * fixed order * update jobspec and api * removed obsolete code * helper functions for jobspec parse test * updated documentation * adjusted API jobs test. * propagate uid/gid setting to job_endpoint * adjusted job_endpoint tests * making uid/gid into pointers * refactor * updated documentation * updated documentation * Update client/allocrunner/taskrunner/template/template_test.go Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com> * Update website/content/api-docs/json-jobs.mdx Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com> * propagating documentation change from Luiz * formatting * changelog entry * changed changelog entry Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
Jai authored
-
Michele Degges authored
### Description Pattern matching was [recently added](https://github.com/hashicorp/crt-orchestrator/pull/51) so that teams no longer have to explicitly list every branch that should trigger the CRT pipeline. This simplifies release preparation- anytime a new release branch is created, it will produce releasable artifacts and exercise the full pipeline. ### Testing & Reproduction steps This has been tested in multiple projects since being rolled out. There are no nomad-specific tests that need to be done. ### Links PR where this functionality was added: https://github.com/hashicorp/crt-orchestrator/pull/51 ### PR Checklist * [ ] updated test coverage * [ ] external facing docs updated * [X] not a security concern
-
Seth Hoenig authored
checks: better goroutine handling for test tcp server
-
Seth Hoenig authored
This PR hopefully fixes a race condition of our little test tcp server that the check observer is making connections against for test cases. The tcp listener would either startup too slow or exit too soon.
-
James Rasell authored
-
Seth Hoenig authored
build: update aws env cpu info
-
Tim Gross authored
Includes concept docs for secure variables, concept docs for workload identity, and an operations docs for keyring management.
-
Eric Weber authored
* Allow specification of CSI staging and publishing directory path * Add website documentation for stage_publish_dir * Replace erroneous reference to csi_plugin.mount_config with csi_plugin.mount_dir * Avoid requiring CSI plugins to be redeployed after introducing StagePublishDir
-
Tim Gross authored
Move the secure variables quota enforcement calls into the state store to ensure quota checks are atomic with quota updates (in the same transaction). Switch to a machine-size int instead of a uint64 for quota tracking. The ENT-side quota spec is described as int, and negative values have a meaning as "not permitted at all". Using the same type for tracking will make it easier to the math around checks, and uint64 is infeasibly large anyways. Add secure vars to quota HTTP API and CLI outputs and API docs.
-
Seth Hoenig authored
build: update to go1.18.5
-
Seth Hoenig authored
-
Tim Gross authored
-
Seth Hoenig authored
-
- 01 Aug, 2022 8 commits
-
-
Seth Hoenig authored
Unblock 'check.method' in service validation. Add tests around making sure this value gets plumbed through.
-
Jai authored
* refact: namespace should be bound property * chore: pass bound namespace property in template * chore: update tests to account for bound namespace refactoring * test: add test coverage for factoring namespace in path matching algo
-
Tim Gross authored
This PR continues work we've started on other test suites to use the native golang test runner instead of the custom framework.
-
Seth Hoenig authored
deps: update raft library
-
Seth Hoenig authored
deps: update test package
-
Seth Hoenig authored
Another attempt at resolving the flakey TestNomad_BootstrapExpect_NonVoter
-
James Rasell authored
-
Seth Hoenig authored
Upgrading to v0.3.0 gives us the ability to add more context to test case failures. https://github.com/shoenig/test/pull/23
-
- 28 Jul, 2022 1 commit
-
-
Tim Gross authored
This test is a fairly trivial test of the agent RPC, but the test setup waits for a short fixed window after the node starts to send the RPC. After looking at detailed logs for recent test failures, it looks like the node registration for the first node doesn't get a chance to happen before we make the RPC call. Use `WaitForResultUntil` to give the test more time to run in slower test environments, while allowing it to finish quickly if possible.
-