first
This commit is contained in:
parent
5f7da181a5
commit
a0d9290c98
16
treafik pv.yaml
Normal file
16
treafik pv.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user