kubectl get nodes # 查看当前master连接的可用nodes数
kubectl create deployment kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 #基于远程的image 创建本地app
kubectl get deployments #查看本地部署的deployment
2021-08-07 01:32:50
kubectl get nodes # 查看当前master连接的可用nodes数
kubectl create deployment kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 #基于远程的image 创建本地app
kubectl get deployments #查看本地部署的deployment