Difference between revisions of "Kubectl describe pv"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
kubectl describe pv | grep [[Claim]] | kubectl describe pv | grep [[Claim]] | ||
kubectl describe pv | Type | kubectl describe pv | Type | ||
+ | kubectl describe pv | Name | ||
Revision as of 18:33, 8 December 2022
kubectl describe pv kubectl describe pv | grep Claim kubectl describe pv | Type kubectl describe pv | Name
kubectl describe pv pvc-21435445f2-5484-4e68-93a2-1234567 Name: pvc-21435445f2-5484-4e68-93a2-1234567 Labels: failure-domain.beta.kubernetes.io/region=europe-west3 failure-domain.beta.kubernetes.io/zone=europe-west3-b Annotations: kubernetes.io/createdby: gce-pd-dynamic-provisioner pv.kubernetes.io/bound-by-controller: yes pv.kubernetes.io/provisioned-by: kubernetes.io/gce-pd Finalizers: [kubernetes.io/pv-protection] StorageClass: standard Status: Bound Claim: non-prod/elasticsearch-master-elasticsearch-master-0 Reclaim Policy: Delete Access Modes: RWO VolumeMode: Filesystem Capacity: 30Gi Node Affinity: Required Terms: Term 0: failure-domain.beta.kubernetes.io/zone in [europe-west3-b] failure-domain.beta.kubernetes.io/region in [europe-west3] Message: Source: Type: GCEPersistentDisk (a Persistent Disk resource in Google Compute Engine) PDName: gke-efi-2838372d-dynam-pvc-21435445f2-5484-4e68-93a2-1234567 FSType: ext4 Partition: 0 ReadOnly: false Events: <none>
Related
kubectl patch pv <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
kubernetes.io/gce-pd
See also
kubectl describe [ nodes | pods | deployment | pv | pvc | secrets | configmaps | networkpolicy | job ]
- Kubernetes Persistent Volume Claim (PVC) (
kind: PersistentVolumeClaim
), Kubernetes Persistent volumes (PV)(kind: PersistentVolume)
,kubectl describe pvc, kubectl get pvc
, ClaimLost, ProvisioningSucceeded, PV access control
Advertising: