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

23 lines
619 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
name = "external-plugin"
type = "host"
# the executable named `example-plugin-mkfs` must be placed in the
# -host-volume-plugin-dir (config: client.host_volume_plugin_dir)
# or you will get an error creating the volume:
# * could not place volume "external-plugin": no node meets constraints
# The default location is <data-dir>/host_volume_plugins
plugin_id = "example-plugin-mkfs"
capacity_min = "50mb"
capacity_max = "50mb"
capability {
access_mode = "single-node-writer"
attachment_mode = "file-system"
}
parameters {
a = "ayy"
}