本地访问minikube的docker

eval $(minikube docker-env)

删除statefulset

kubectl delete statefulset web --cascade=false

扩容

kubectl scale deployments/kubernetes-bootcamp --replicas=4

进入pod内部

kubectl exec -it nginx-dbddb74b8-56bfz bash
05-11 21:41