【问题标题】:How do I modify kube-apiserver parameters when provisioning a cluster using kops?使用 kops 配置集群时如何修改 kube-apiserver 参数?
【发布时间】:2019-11-07 18:45:32
【问题描述】:

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

【问题讨论】:

    标签: kubernetes kops kube-apiserver


    【解决方案1】:

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

    修改/etc/kubernetes/manifests/kube-apiserver.manifest

    然后重启kubelet:systemctl restart kubelet

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-07
      • 1970-01-01
      • 2018-12-21
      • 2020-12-31
      • 2019-05-15
      • 2017-12-10
      • 2017-04-19
      • 2020-12-08
      相关资源
      最近更新 更多