mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 03:15:42 +03:00
Add tests for dynamic host volumes where the claiming jobs have `volume.sticky = true`. Includes a test for forced rescheduling and a test for node drain. This changeset includes a new `e2e/v3`-style package for creating dynamic host volumes, so we can reuse that across other tests.
17 lines
302 B
HCL
17 lines
302 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
name = "created-volume"
|
|
type = "host"
|
|
plugin_id = "mkdir"
|
|
|
|
capability {
|
|
access_mode = "single-node-writer"
|
|
attachment_mode = "file-system"
|
|
}
|
|
|
|
constraint {
|
|
attribute = "${attr.kernel.name}"
|
|
value = "linux"
|
|
}
|