K8s1.26.11 安装kubespere3.4.1 ,登录提示FetchError: request to http://ks-apiserver/oauth/token failed, reason: getaddrin
查看ks-apiserver,ks-console,coredns后发现是coredns的问题,集群service ip 不通

kubectl get svc

将coredns的service中 clusterIP: 10.96.0.10   此处配置为service ip段的第10个ip,重新创建coredns,重起ks-installer容器即可
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐