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.
- 07 Apr, 2021 11 commits
-
-
Tim Gross authored
-
Tim Gross authored
-
Tim Gross authored
Consumers of the CSI HTTP API are expecting a response object and not a slice of snapshots. Fix the return value.
-
Tim Gross authored
The plugin stub object does not include fine-grained capability checks, which means `nomad volume status -verbose` will return ugly and verbose error "Unimplemented" messages from the plugin if it does not support the CSI `ListVolumes` RPC. Return a nicer error message from our RPC handler instead.
-
Tim Gross authored
The HTTP router did not correctly route `/v1/volumes/external` without being explicitly added to the top-level router. Break this out into its own request handler.
-
Tim Gross authored
If a plugin returns an error, we should continue at the outer scope to query the next plugin, otherwise we just retry the plugin we got an error on (potentially infinitely if it's an invalid request like an unsupported plugin).
-
Tim Gross authored
Add new `access_mode`/`attachment_mode` fields. Make it more clear which set of fields belong to create vs register. Update the example spec that's generated by `volume init`.
-
Tim Gross authored
Registration of Nomad volumes previously allowed for a single volume capability (access mode + attachment mode pair). The recent `volume create` command requires that we pass a list of requested capabilities, but the existing workflow for claiming volumes and attaching them on the client assumed that the volume's single capability was correct and unchanging. Add `AccessMode` and `AttachmentMode` to `CSIVolumeClaim`, use these fields to set the initial claim value, and add backwards compatibility logic to handle the existing volumes that already have claims without these fields.
-
Tim Gross authored
-
Tim Gross authored
-
Chris Baker authored
fix potential race condition in API client
-
- 06 Apr, 2021 9 commits
-
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
enable -race detector for testing api
-
Luiz Aoqui authored
-
Seth Hoenig authored
build: install buf during bootstrap
-
Seth Hoenig authored
Previously installing buf was left out of `make bootstrap` because it had conflicts with the `tools/go.mod` file and dependencies used by other tools. With Go 1.16 we eliminated that `go.mod` file, and can now just install `buf` with `go install` like everything else.
-
- 05 Apr, 2021 9 commits
-
-
Michael Lange authored
Fix the broken link in the bootstrapping custom scheduler warning
-
Michael Lange authored
-
Drew Bailey authored
-
Seth Hoenig authored
consul: plumbing for specifying consul namespace in job/group
-
Seth Hoenig authored
-
Seth Hoenig authored
Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Seth Hoenig authored
This PR adds the common OSS changes for adding support for Consul Namespaces, which is going to be a Nomad Enterprise feature. There is no new functionality provided by this changeset and hopefully no new bugs.
-
Drew Bailey authored
* changelog entry for on_update configuration settings * Update CHANGELOG.md Co-authored-by:
Tim Gross <tgross@hashicorp.com> Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Drew Bailey authored
-
- 03 Apr, 2021 4 commits
-
-
Mahmood Ali authored
chore: bump golangci-lint from v1.24 to v1.39
-
Yoan Blanc authored
Signed-off-by:
Yoan Blanc <yoan@dosimple.ch>
-
Yoan Blanc authored
Signed-off-by:
Yoan Blanc <yoan@dosimple.ch>
-
Yoan Blanc authored
Signed-off-by:
Yoan Blanc <yoan@dosimple.ch>
-
- 02 Apr, 2021 7 commits
-
-
Michael Schurter authored
docs: specify buf v0.30.1
-
Michael Schurter authored
If you use too new of a `buf` you will hit #10293
-
Mahmood Ali authored
Memory stats for cgroup-v2
-
Mahmood Ali authored
-
Tim Gross authored
When a volume is registered via `nomad volume register` and not via the creation workflow, it may not have any of the capacity fields set (as they're not used for registration). Handle this case without error, and let the downstream RPCs handle the error case for `nomad volume create`.
-
Drew Bailey authored
-
Chris Baker authored
move json handle back to `structs`
-