kubectl describe pv

From wikieduonline
Revision as of 12:21, 12 January 2024 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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>

Grafana minikube

kubectl describe pv pvc-90a3a4c1-d42d-411c-b157-f02d12f3e208
Name:            pvc-90a3a4c1-d42d-411c-b157-f02d12f3e208
Labels:          <none>
Annotations:     hostPathProvisionerIdentity: 93dae6c4-31b6-4a45-be83-e247ad53145e
                 pv.kubernetes.io/provisioned-by: k8s.io/minikube-hostpath
Finalizers:      [kubernetes.io/pv-protection]
StorageClass:    standard
Status:          Bound
Claim:           default/grafana
Reclaim Policy:  Delete
Access Modes:    RWO
VolumeMode:      Filesystem
Capacity:        10Gi
Node Affinity:   <none>
Message:
Source:
    Type:          HostPath (bare host directory volume)
    Path:          /tmp/hostpath-provisioner/default/grafana
    HostPathType:
Events:            <none>

Related

See also

Advertising: