Last active
October 14, 2020 22:34
-
-
Save jtfogarty/1725f639b806c3efb04be6ec18fc99c5 to your computer and use it in GitHub Desktop.
CKA Storage Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
persistentvolume/lab6-pv-volume 2Gi RWO Retain Available 30h | |
persistentvolume/pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO Delete Bound jx/lab6-pv-claim managed-nfs-storage 30h | |
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | |
persistentvolumeclaim/lab6-pv-claim Bound pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO managed-nfs-storage 30h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
persistentvolume/lab6-pv-volume 2Gi RWO Retain Available 30h | |
persistentvolume/pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO Delete Bound jx/lab6-pv-claim-2 managed-nfs-storage 4s | |
persistentvolume/pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO Delete Bound jx/lab6-pv-claim managed-nfs-storage 30h | |
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | |
persistentvolumeclaim/lab6-pv-claim Bound pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO managed-nfs-storage 30h | |
persistentvolumeclaim/lab6-pv-claim-2 Bound pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO managed-nfs-storage 4s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
persistentvolume/lab6-pv-volume 2Gi RWO Retain Bound jx/lab6-pv-claim-3 31h | |
persistentvolume/pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO Delete Bound jx/lab6-pv-claim-2 managed-nfs-storage 56m | |
persistentvolume/pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO Delete Bound jx/lab6-pv-claim managed-nfs-storage 31h | |
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | |
persistentvolumeclaim/lab6-pv-claim Bound pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO managed-nfs-storage 31h | |
persistentvolumeclaim/lab6-pv-claim-2 Bound pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO managed-nfs-storage 56m | |
persistentvolumeclaim/lab6-pv-claim-3 Bound lab6-pv-volume 2Gi RWO 51s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
persistentvolume/lab6-pv-volume 2Gi RWO Retain Bound jx/lab6-pv-claim-3 32h | |
persistentvolume/lab6-pv-volume-a 2Gi RWO Retain Available 33m | |
persistentvolume/pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO Delete Bound jx/lab6-pv-claim-2 managed-nfs-storage 126m | |
persistentvolume/pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO Delete Bound jx/lab6-pv-claim managed-nfs-storage 32h | |
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | |
persistentvolumeclaim/lab6-pv-claim Bound pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO managed-nfs-storage 32h | |
persistentvolumeclaim/lab6-pv-claim-2 Bound pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO managed-nfs-storage 126m | |
persistentvolumeclaim/lab6-pv-claim-3 Bound lab6-pv-volume 2Gi RWO 71m | |
persistentvolumeclaim/lab6-pv-claim-a Pending lab6-pv-volume-a 0 managed-nfs-storage 31m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
persistentvolume/lab6-pv-volume 2Gi RWO Retain Bound jx/lab6-pv-claim-3 5d5h | |
persistentvolume/lab6-pv-volume-a 2Gi RWO Retain Available 3d21h | |
persistentvolume/lab6-pv-volume-b 2Gi RWO Retain Bound jx/lab6-pv-claim-b manual 3m51s | |
persistentvolume/pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO Delete Bound jx/lab6-pv-claim-2 managed-nfs-storage 3d23h | |
persistentvolume/pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO Delete Bound jx/lab6-pv-claim managed-nfs-storage 5d5h | |
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | |
persistentvolumeclaim/lab6-pv-claim Bound pvc-927a9825-1602-4809-80e2-99670f951b2d 1Gi RWO managed-nfs-storage 5d5h | |
persistentvolumeclaim/lab6-pv-claim-2 Bound pvc-3c1461a2-7998-4087-ab82-4bcbfacad61f 2Gi RWO managed-nfs-storage 3d23h | |
persistentvolumeclaim/lab6-pv-claim-3 Bound lab6-pv-volume 2Gi RWO 3d22h | |
persistentvolumeclaim/lab6-pv-claim-a Pending lab6-pv-volume-a 0 managed-nfs-storage 3d21h | |
persistentvolumeclaim/lab6-pv-claim-b Bound lab6-pv-volume-b 2Gi RWO manual 103s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolume | |
apiVersion: v1 | |
metadata: | |
name: lab6-pv-volume-a | |
labels: | |
type: local | |
spec: | |
capacity: | |
storage: 2Gi | |
accessModes: | |
- ReadWriteOnce | |
hostPath: | |
path: "/mydata" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolume | |
apiVersion: v1 | |
metadata: | |
name: lab6-pv-volume-b | |
labels: | |
type: local | |
spec: | |
storageClassName: manual | |
capacity: | |
storage: 2Gi | |
accessModes: | |
- ReadWriteOnce | |
hostPath: | |
path: "/mydata" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: lab6-pv-claim-a | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
volumeName: lab6-pv-volume-a | |
resources: | |
requests: | |
storage: 2Gi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: lab6-pv-claim-b | |
spec: | |
storageClassName: manual | |
accessModes: | |
- ReadWriteOnce | |
volumeName: lab6-pv-volume-b | |
resources: | |
requests: | |
storage: 2Gi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: lab6-pod | |
spec: | |
volumes: | |
- name: pv-storage | |
persistentVolumeClaim: | |
claimName: lab6-pv-claim-b | |
containers: | |
- name: pv-container | |
image: httpd | |
volumeMounts: | |
- name: pv-storage | |
mountPath: "/var/www" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolume | |
apiVersion: v1 | |
metadata: | |
name: lab6-pv-volume | |
labels: | |
type: local | |
spec: | |
capacity: | |
storage: 2Gi | |
accessModes: | |
- ReadWriteOnce | |
hostPath: | |
path: "/mydata" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: lab6-pv-claim | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 1Gi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment