使用 kops 配置集群时如何修改 kube-apiserver 参数?

Chr*_*ski 1 kubernetes kops kube-apiserver

kube-apiserver 未运行

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

Flag --address has been deprecated, see --insecure-bind-address instead.
Run Code Online (Sandbox Code Playgroud)

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


我的意思是来自我的 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
Run Code Online (Sandbox Code Playgroud)

Chr*_*ski 5

/sf/answers/3524973511/

调整 /etc/kubernetes/manifests/kube-apiserver.manifest

然后重启kubelet: systemctl restart kubelet