Files
nomad/command/asset/volume.host.json
Tim Gross fd05e461dd dynamic host volumes: add -type flag to volume init (#24667)
Adds a `-type` flag to the `volume init` command that generates an example
volume specification with only those fields relevant to dynamic host
volumes. This changeset also moves the string literals into uses of `go:embed`

Ref: https://github.com/hashicorp/nomad/pull/24479
2024-12-19 09:25:54 -05:00

25 lines
453 B
JSON

{
"id": "disk_prod_db1",
"namespace": "default",
"name": "database",
"type": "host",
"plugin_id": "plugin_id",
"capacity_min": "10GiB",
"capacity_max": "20G",
"capability": [
{
"access_mode": "single-node-writer",
"attachment_mode": "file-system"
},
{
"access_mode": "single-node-reader",
"attachment_mode": "block-device"
}
],
"parameters": [
{
"skuname": "Premium_LRS"
}
]
}