Difference between revisions of "Kubectl delete"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | * <code>kubectl delete | + | * <code>[[kubectl delete pod]] POD_NAME</code> |
* <code>kubectl delete [[services]] hello-minikube</code> | * <code>kubectl delete [[services]] hello-minikube</code> |
Revision as of 12:27, 17 January 2022
kubectl delete pod POD_NAME
kubectl delete services hello-minikube
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
- Uninstall Istio:
istioctl manifest generate --set profile=demo | kubectl delete -f -
Related commands
See also
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: