Skip to content

Volume2

Key Value
type object
relationship Package -> Database -> Shard -> Mounts -> Volume2
object path $.databases[*].shards[*].mounts.*.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
claimName string | null no PVC Name appended by Operator on Mount creation - null
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

No linked schemas.

Used In

Back to top