prometheus operator v0.71.2

Prometheus.spec.initContainers[].securityContext.capabilities.add.spec.storage

Storage defines the storage used by Prometheus.

4 fields
Prometheus.spec.initContainers[].securityContext.capabilities.add.spec.storage fields and descriptions
Field / TypeDescription
disableMountSubPath
boolean

Deprecated: subPath usage will be removed in a future release.

object

EmptyDirVolumeSource to be used by the StatefulSet. If specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir

object

EphemeralVolumeSource to be used by the StatefulSet. This is a beta field in k8s 1.21 and GA in 1.15. For lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate. More info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes

object

Defines the PVC spec to be used by the Prometheus StatefulSets. The easiest way to use a volume that cannot be automatically provisioned is to use a label selector alongside manually created PersistentVolumes.