Difference between revisions of "Kubectl patch pv"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[kubectl patch]] pv
+
  [[kubectl patch]] [[pv]]
  
 +
Change persistentVolumeReclaimPolicy:
 +
kubectl patch pv <your-pv-name> -p '{"spec":{"[[persistentVolumeReclaimPolicy]]":"Retain"}}'
  
 +
== Related ==
 +
[[kubectl patch pvc]]
  
{{kubectl}}
+
== See also ==
 +
* {{Kubernetes storage}}
 +
* {{kubectl patch}}
 +
 
 +
[[Category:K8s]]

Latest revision as of 06:17, 23 November 2022

Advertising: