qyh@qyh_master:/home/kubernetes/work$ kubectl get cs
NAME STATUS MESSAGE ERROR
scheduler Healthy ok
controller-manager Healthy ok
etcd-0 Healthy {"health": "true"}
qyh@qyh_master:/home/kubernetes/work$ kubectl get node
NAME STATUS ROLES AGE VERSION
192.168.1.20 Ready <none> 56m v1.10.13
qyh@qyh_master:/home/kubernetes/work$ kubectl get pods
No resources found.
qyh@qyh_master:/home/kubernetes/work$ sudo kubectl run nginx --image=nginx
deployment.apps "nginx" created
qyh@qyh_master:/home/kubernetes/work$ sudo kubectl get pod
No resources found.
qyh@qyh_master:/home/kubernetes/work$ sudo kubectl get deploy
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx 1 0 0 0 22s
nginx4 1 0 0 0 41m
qyh@qyh_master:/home/kubernetes/work$ sudo kubectl run kubenetes-bootcamp --image=jocatalin/kubernetes-bootcamp:v1 --port=8080 [sudo] qyh 的密码: deployment.apps "kubenetes-bootcamp" created qyh@qyh_master:/home/kubernetes/work$ sudo kubectl get deployments NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE kubenetes-bootcamp 1 0 0 0 22s nginx 1 0 0 0 1h nginx4 1 0 0 0 1h
有大神可以指导下吗?