sansae@sansaeAir15m2 k8s-lab-workspace % k get pv
No resources found
sansae@sansaeAir15m2 k8s-lab-workspace % k get pvc
No resources found in default namespace.
sansae@sansaeAir15m2 k8s-lab-workspace % k apply -f pvc.yaml
persistentvolumeclaim/foo-pvc created
sansae@sansaeAir15m2 k8s-lab-workspace % k get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
foo-pvc Bound pvc-735e1382-f1e1-40f3-8378-25e72ebda4b0 1Gi RWO azurefile 3s
sansae@sansaeAir15m2 k8s-lab-workspace % k get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-735e1382-f1e1-40f3-8378-25e72ebda4b0 1Gi RWO Delete Bound default/foo-pvc azurefile 5s
sansae@sansaeAir15m2 k8s-lab-workspace %
|