Difference between revisions of "Kubectl delete"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
  
 
  kubectl delete namespace XXXX
 
  kubectl delete namespace XXXX
 +
 +
kubectl delete [[crd]] XXXX
  
 
* Uninstall [[Istio]]:  <code>[[istioctl manifest generate]] --set profile=demo | [[kubectl delete]] -f -</code>
 
* Uninstall [[Istio]]:  <code>[[istioctl manifest generate]] --set profile=demo | [[kubectl delete]] -f -</code>

Revision as of 20:59, 23 September 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
kubectl delete namespace XXXX
kubectl delete crd XXXX

Related commands

See also

Advertising: