Editing Kubectl describe pv

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[kubectl describe]] pv  
+
  kubectl describe pv  
 
  kubectl describe pv | grep [[Claim]]
 
  kubectl describe pv | grep [[Claim]]
 
  kubectl describe pv | Type
 
  kubectl describe pv | Type
Line 12: Line 12:
 
  Annotations:      kubernetes.io/createdby: [[gce-pd]]-dynamic-provisioner
 
  Annotations:      kubernetes.io/createdby: [[gce-pd]]-dynamic-provisioner
 
                     pv.kubernetes.io/bound-by-controller: yes
 
                     pv.kubernetes.io/bound-by-controller: yes
                     pv.kubernetes.io/provisioned-by: [[kubernetes.io/gce-pd]]
+
                     pv.kubernetes.io/provisioned-by: kubernetes.io/[[gce-pd]]
 
  Finalizers:        [kubernetes.io/pv-protection]
 
  Finalizers:        [kubernetes.io/pv-protection]
 
  StorageClass:      standard
 
  StorageClass:      standard
Line 18: Line 18:
 
  Claim:            non-prod/elasticsearch-master-elasticsearch-master-0
 
  Claim:            non-prod/elasticsearch-master-elasticsearch-master-0
 
  [[Reclaim Policy]]:    Delete
 
  [[Reclaim Policy]]:    Delete
  [[Access Modes]]:      RWO
+
  Access Modes:      RWO
 
  VolumeMode:        Filesystem
 
  VolumeMode:        Filesystem
  [[Capacity:]]         30Gi
+
  Capacity:          30Gi
 
  [[Node Affinity]]:
 
  [[Node Affinity]]:
 
   Required Terms:
 
   Required Terms:
Line 33: Line 33:
 
     ReadOnly:  false
 
     ReadOnly:  false
 
  Events:        <none>
 
  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 ==
 
== Related ==
 
* <code>[[kubectl patch pv]] <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'</code>
 
* <code>[[kubectl patch pv]] <your-pv-name> -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'</code>
* <code>[[kubernetes.io/gce-pd]]</code>
+
[[kubernetes.io/gce-pd]]
* <code>[[kubectl get pv]]</code>
 
* [[efs]]
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: