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.
12 lines
296 B
YAML
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"
|