Add traefik service.
This commit is contained in:
26
storage/config-volume.hcl
Normal file
26
storage/config-volume.hcl
Normal file
@@ -0,0 +1,26 @@
|
||||
id = "config-volume"
|
||||
name = "config-volume"
|
||||
type = "csi"
|
||||
plugin_id = "seaweedfs"
|
||||
|
||||
capacity_min = "1GiB"
|
||||
capacity_max = "2GiB"
|
||||
|
||||
capability {
|
||||
access_mode = "multi-node-single-writer"
|
||||
attachment_mode = "file-system"
|
||||
}
|
||||
|
||||
# Optional: for 'nomad volume create', specify mount options to validate for
|
||||
# 'attachment_mode = "file-system". Registering an existing volume will record
|
||||
# but ignore these fields.
|
||||
mount_options {
|
||||
mount_flags = ["rw"]
|
||||
}
|
||||
|
||||
parameters {
|
||||
# Available options: https://github.com/seaweedfs/seaweedfs-csi-driver/blob/master/pkg/driver/mounter_seaweedfs.go
|
||||
collection = "config"
|
||||
replication = "001"
|
||||
path = "/config"
|
||||
}
|
||||
Reference in New Issue
Block a user