Difference between revisions of "Kubectl delete"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
  kubectl delete pv mysql-pv-volume
 
  kubectl delete pv mysql-pv-volume
  
 +
kubectl delete namespace 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:58, 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

Related commands

See also

Advertising: