Kubernetes Persistent Volume Manifest: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
[[Kubernetes_Manifest_Metadata#name|name]]: blue | [[Kubernetes_Manifest_Metadata#name|name]]: blue | ||
[[Kubernetes_Manifests#spec|spec]]: | [[Kubernetes_Manifests#spec|spec]]: | ||
accessModes: | [[#accessModes|accessModes]]: | ||
- RedWriteOnce | - RedWriteOnce | ||
storageClassName: test | storageClassName: test |
Revision as of 05:12, 10 December 2019
Internal
Example
apiVersion: v1 kind: PersistentVolume metadata: name: blue spec: accessModes: - RedWriteOnce storageClassName: test capacity: storage: 10Gi persistentVolumeReclaimPolicy: Retain ...