first
This commit is contained in:
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
|
Reference in New Issue
Block a user