k3s-configs/infra/storage/storage-class.yaml

8 lines
182 B
YAML
Executable File

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: retain-local-path
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain