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 7: Line 7:
 
* <code>kubectl delete pods --all</code>
 
* <code>kubectl delete pods --all</code>
 
* <code>kubectl delete replicasets --all</code>
 
* <code>kubectl delete replicasets --all</code>
 
+
* <code>kubectl delete deployments --all</code>
  
 
  kubectl delete deployment,svc mysql
 
  kubectl delete deployment,svc mysql

Revision as of 10:29, 20 August 2020

  • kubectl delete pod POD_NAME


  • kubectl delete pods --all
  • kubectl delete replicasets --all
  • kubectl delete deployments --all
kubectl delete deployment,svc mysql
kubectl delete pvc mysql-pv-claim
kubectl delete pv mysql-pv-volume


Related commands

See also

Advertising: