Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 Pod 获取 Kubernetes API 问题 #25

Open
antonchen opened this issue Mar 25, 2023 · 0 comments
Open

关于 Pod 获取 Kubernetes API 问题 #25

antonchen opened this issue Mar 25, 2023 · 0 comments

Comments

@antonchen
Copy link

antonchen commented Mar 25, 2023

在部署 calico 和 coredns 时 Pod 都会请求 api server,但它默认请求 service 的地址如:https://198.18.0.1:443/version,calico 通过设置环境变量解决了,coredns 设置 api server 后报证书错误,在部署文档中未见相关说明。

  1. Pod 中的 api server 地址默认再哪里存储?
  2. coredns 如何忽略证书错误或配置 CA?

EDIT:
理解有问题刚搞明白,请求 https://198.18.0.1:443/version 是正常的,但是为什么这个 service 无法访问不知道怎么排查。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant