This commit is contained in:
Adolfo Delorenzo 2021-03-28 23:45:49 -06:00
parent 5f7da181a5
commit a0d9290c98
1 changed files with 16 additions and 0 deletions

16
treafik pv.yaml Normal file
View File

@ -0,0 +1,16 @@
kubectl create -f - <<EOY
apiVersion: v1
kind: PersistentVolume
metadata:
name: traefik
labels:
type: local-storage
spec:
storageClassName: local-storage
capacity:
storage: 128Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/data"
EOY