Skip to content

Volume

Key Value
type object
relationship Package -> Database -> Shard -> Sequencer -> Volume
object path $.databases[*].shards[*].sequencers.*.volume
package file path {package-root}/databases/{db-name}/shards/{shard-name}.yaml

Fields

Field Type Required Description Constraints Default
accessModes array<string> | null no AccessModes defines how volume can by mounted. Common values are ReadWriteOnce (RWO), ReadOnlyMany (ROX) or ReadWriteMany (RWX). RWO - Best for pod only storage RWX - Required for shared storage across pods See: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes - null
mountPath string | null no MountPath specified the absolute path within the instance container where the volume should be mounted. pattern: "^\\/+([a-zA-Z0-9_.-]+\\/*)+$" "/s/"
size string | null no Size defines the capacity of the volume. Use standard Kubernetes resource quantities. pattern: "^([0-9]+(\\.[0-9]+)?)([EPTGMK]i?)?$" "20Gi"
storageClass string | null no StorageClass specifies the name fo the StorageClass required by the volume. If this field is omitted or set to empty string (""), the cluster's default StorageClass will be used. See: https://kubernetes.io/docs/concepts/storage/storage-classes - null
subPaths SubPaths | null no Sub directories under Mount location - {"in": "in"}

Used In

Back to top