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

kubectl get csr 获取不到信息No resources found. #4

Open
RaymondNY opened this issue Mar 5, 2019 · 2 comments
Open

kubectl get csr 获取不到信息No resources found. #4

RaymondNY opened this issue Mar 5, 2019 · 2 comments

Comments

@RaymondNY
Copy link

Master节点 kubectl get csr 获取不到信息No resources found.
Node节点 启动kubelet 查看状态提示
Using bootstrap kubeconfig to generate TLS client cert, key and kubeconfig file
No valid private key and/or certificate found, reusing existing private key or creating a new one
Failed to connect to apiserver : Get https://xxx.xxx.xxx.xxx

@RaymondNY
Copy link
Author

请问 这个配置文件里/k8s/kubernetes/cfg/kubelet
有一句话是这个--kubeconfig=/k8s/kubernetes/cfg/kubelet.kubeconfig \
但这个kubelet.kubeconfig在哪里生产的啊?文章里没有啊

@minminmsn
Copy link
Owner

@RaymondNY 第一个问题是证书问题,第一个配置文件https://github.com/minminmsn/k8s1.13/blob/master/kubernetes/cfg/node/kubelet.config 在这里,都在cfg目录下。

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

2 participants