Commit 7453793b authored by Julien Leduc's avatar Julien Leduc
Browse files

Adding stg persistent volume as needed by

parent 6e4b0e76
......@@ -64,3 +64,9 @@ mkdir -pv /shared/logs
sudo kubectl delete pv log || true
sudo kubectl create -f ./log_PV.yaml
sudo kubectl get persistentvolumes -l type=logs
echo Generating the stg persistent volume
mkdir -pv /shared/stg
sudo kubectl delete pv stg || true
sudo kubectl create -f ./stg_PV.yaml
sudo kubectl get persistentvolumes -l type=stg
apiVersion: v1
kind: PersistentVolume
metadata:
name: stg
labels:
type: stg
spec:
capacity:
storage: 3Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Recycle
hostPath:
path: /shared/stg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment