Editing Kubectl delete
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | * <code>kubectl delete [[pod]] POD_NAME</code> | |
− | |||
− | * <code> | + | * <code>kubectl delete [[services]] hello-minikube</code> |
− | |||
− | |||
− | * <code> | + | * <code>kubectl delete pods --all</code> |
+ | * <code>kubectl delete replicasets --all</code> | ||
+ | * <code>kubectl delete deployments --all</code> | ||
+ | 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]]: <code>[[istioctl manifest generate]] --set profile=demo | [[kubectl delete]] -f -</code> | * Uninstall [[Istio]]: <code>[[istioctl manifest generate]] --set profile=demo | [[kubectl delete]] -f -</code> | ||
− | |||
− | |||
− | |||
− | |||
== Related commands == | == Related commands == | ||
* <code>[[kubectl create]]</code> | * <code>[[kubectl create]]</code> | ||
* <code>[[kubectl get]]</code> | * <code>[[kubectl get]]</code> | ||
− | |||
== See also == | == See also == | ||
− | |||
* {{kubectl}} | * {{kubectl}} | ||
+ | * {{K8s}} | ||
+ | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Advertising: