解决k8s 1.18.0版本 replicas被弃用问题以及暴露k8s的pods 服务
执行命令kubectl run nginx --image=nginx --replicas=2 --port=80 会反馈
Flag --replicas has been deprecated, has no effect and will be removed in the future. 并且只创建一个nginx 容器实例
在K8S v1.18.0以后,–replicas已弃用 ,推荐用 ...
原创
2020-04-22 11:53:17 ·
6077 阅读 ·
2 评论