Files
nomad/demo/hostvolume/setup.sh
Daniel Bennett e76f5e0b4c dynamic host volumes: volume fingerprinting (#24613)
and expand the demo a bit
2024-12-19 09:25:54 -05:00

15 lines
326 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
set -xeuo pipefail
nomad volume create external-plugin.volume.hcl
nomad volume create internal-plugin.volume.hcl
nomad job run job.nomad.hcl
nomad volume status -type=host -verbose
nomad operator api /v1/nodes | jq '.[].HostVolumes'