Difference between revisions of "Kubectl delete"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
* <code>kubectl delete [[pod]] POD_NAME</code>
 
* <code>kubectl delete [[pod]] POD_NAME</code>
 +
 +
* <code>kubectl delete [[services]] hello-minikube</code>
 +
 
* <code>kubectl delete pods --all</code>
 
* <code>kubectl delete pods --all</code>
* <code>kubectl delete [[services]] hello-minikube</code>
+
* <code>kubectl delete replicasets --all</code>
  
  

Revision as of 10:28, 20 August 2020

  • kubectl delete pod POD_NAME
  • kubectl delete pods --all
  • kubectl delete replicasets --all


kubectl delete deployment,svc mysql
kubectl delete pvc mysql-pv-claim
kubectl delete pv mysql-pv-volume


Related commands


See also

Advertising: