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

8 lines
182 B
YAML
Raw Permalink Normal View History

2023-11-28 21:18:02 +00:00
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: retain-local-path
provisioner: rancher.io/local-path
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain