Difference between revisions of "Kubectl replace"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  kubectl replace --force -f ./pod.json
 
  kubectl replace --force -f ./pod.json
 +
https://kubernetes.io/docs/reference/kubectl/cheatsheet/#updating-resources
  
 
   [[kubectl get pod]] PODNAME -n NAMESPACE -o yaml | [[kubectl replace]] --force -f -<ref>https://stackoverflow.com/a/45046340/9269906</ref>
 
   [[kubectl get pod]] PODNAME -n NAMESPACE -o yaml | [[kubectl replace]] --force -f -<ref>https://stackoverflow.com/a/45046340/9269906</ref>

Revision as of 17:06, 1 December 2022

Advertising: