1

kube-apiserver 没有运行

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

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

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


我的意思是,是源自我的 kops 配置,我现在已经对其进行了修改。但我无法反映这些变化:

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
4

1 回答 1

5

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

Modify /etc/kubernetes/manifests/kube-apiserver.manifest

And then restart kubelet: systemctl restart kubelet

于 2019-06-25T21:42:48.640 回答