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

执行完脚本后提示 apiserver.cluster.local:6443 #20

Open
PeixyJ opened this issue May 10, 2024 · 2 comments
Open

执行完脚本后提示 apiserver.cluster.local:6443 #20

PeixyJ opened this issue May 10, 2024 · 2 comments

Comments

@PeixyJ
Copy link

PeixyJ commented May 10, 2024

请问该如何处理

安装Kubectl的方式为 sealos

./update-kubeadm-cert.sh all --cri containerd

image

apiserver.cluster.local:6443

@PeixyJ
Copy link
Author

PeixyJ commented May 10, 2024

image

Repository owner deleted a comment from fenwuyaoji May 15, 2024
@yuyicai
Copy link
Owner

yuyicai commented May 15, 2024

ping apiserver.cluster.local 查看 apiserver.cluster.local 解析是否正确
此外可以修改 ~/.kube/config 里的 cluster server 地址,可参考旧的 ~/.kube/config,备份者 ~/.kube/config.old-$(date +%Y%m%d) https://github.com/yuyicai/update-kube-cert/blob/v1.0.0/update-kubeadm-cert.sh#L305
还有:sealos 本来就支持很多年的证书,不需要用这个脚本刷新。

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