gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 11:52:07 28 4
gpt4 key购买 nike

kube-apiserver 没有运行

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

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

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


我的意思是是的,它源 self 现在修改过的 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/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com