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

Revision as of 17:26, 24 October 2021

  • kubectl delete pod POD_NAME


kubectl delete deployment,svc mysql
kubectl delete pvc mysql-pv-claim
kubectl delete pv mysql-pv-volume
kubectl delete namespace XXXX
kubectl delete crd XXXX

Related commands

See also

Advertising: