k8s的配置
拉取镜像,创建pod:从阿里云拉取
root@k8s-master \~\]# kubectl run nginx --image=nginx:latest
\[root@k8s-master \~\]# kubectl get po -Aowide\|grep nginx
default nginx 0/1 ImagePullBackOff 0 4m48s 172.16.85.193 k8s-node01 \
root@k8s-master \~\]# kubectl run nginx --image=nginx:latest
\[root@k8s-master \~\]# kubectl get po -Aowide\|grep nginx
default nginx 0/1 ImagePullBackOff 0 4m48s 172.16.85.193 k8s-node01 \