weixin_43935079
weixin_43935079
采纳率42.9%
2019-01-13 16:53 阅读 810

kubernetes集群安装后, 启动一个测试镜像, 却一直处在 desired状态,是怎么回事啊?

5

kubernetes集群安装后, 启动一个测试镜像, 像一直处在 desired状态,是怎么回事啊?

kubectl run nginx --image=nginx --replicas=3
deployment "nginx" created
[root@k8s003 ssl]# kubectl get all
NAME           DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deploy/nginx   3         0         0            0           9s

NAME             CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
svc/kubernetes   10.254.0.1   <none>        443/TCP   1h

NAME                 DESIRED   CURRENT   READY     AGE
rs/nginx-701339712   3         0         0         9s

安装参考的这篇文章:
https://blog.csdn.net/shengerjianku/article/details/80438221

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • gammey gammey 2019-01-17 13:44

    kubectl discribe看下报错

    点赞 评论 复制链接分享

相关推荐