kube-apiserver没有运行
/var/log/kube-apiserver.log具有以下内容:

Flag --address has been deprecated, see --insecure-bind-address instead.

这些值在哪里存储/配置?

我的意思是,是我修改过的kops配置的起源。但是我无法反射(reflect)出这些变化:
kops rolling-update cluster
Using cluster from kubectl context: uuuuuuuuuuuuuuuuuuuuuu
Unable to reach the kubernetes API.
Use --cloudonly to do a rolling-update without confirming progress with the k8s API


error listing nodes in cluster: Get https://api.uuuuuuuuuu/api/v1/nodes: dial tcp eeeeeeeeeeeeeee:443: connect: connection refused

最佳答案

https://stackoverflow.com/a/50356764/1663462

修改/etc/kubernetes/manifests/kube-apiserver.manifest
然后重新启动kubelet:systemctl restart kubelet

关于kubernetes - 使用kops设置集群时,如何修改kube-apiserver参数?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/56762338/

10-11 06:43