📜  kubectl cleanup pods - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:51.499000             🧑  作者: Mango

代码示例2
# I deleted the resources in the below order and it worked for me.

# To get all the resources.

kubectl get pods,services,deployments,jobs,daemonset

# Delete the resources like below:

kubectl delete deployments 
kubectl delete services 
kubectl delete pods  --namespace=
kubectl delete daemonset