Files
Kubernetes-Manifests/infra/longhorn/longhorn-storageclass-static.yaml
Jeffrey c505924d27 longhorn: track the longhorn-static StorageClass in Git
Longhorn auto-creates this class when missing and it is not backed by the longhorn-storageclass ConfigMap, so it had no source of truth. Set to Retain.
2026-08-24 00:43:26 +02:00

12 lines
296 B
YAML

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn-static
provisioner: driver.longhorn.io
allowVolumeExpansion: true
# Retain so a deleted PVC does not destroy the Longhorn volume
reclaimPolicy: Retain
volumeBindingMode: Immediate
parameters:
staleReplicaTimeout: "30"