001-pv.yaml 524 B

12345678910111213141516171819202122232425
  1. apiVersion: v1
  2. kind: PersistentVolume
  3. metadata:
  4. name: argo-pv-workflow
  5. labels:
  6. type: local
  7. # argowf: argo-pv-workflow
  8. spec:
  9. storageClassName: standard
  10. capacity:
  11. storage: 10Gi
  12. accessModes:
  13. - ReadWriteMany
  14. hostPath:
  15. path: "/kbctl"
  16. persistentVolumeReclaimPolicy: Delete
  17. # volumeMode: Filesystem
  18. nodeAffinity:
  19. required:
  20. nodeSelectorTerms:
  21. - matchExpressions:
  22. - key: kubernetes.io/hostname
  23. operator: In
  24. values:
  25. - k8s