-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 exec 操作提示x509: certificate is not valid for any names #1225
Comments
Kubeasz Version:3.4.4 |
安装步骤有没有其他特别的地方,怎么安装的过程,或者复现的过程贴一下 |
安装步骤有没有其他特别的地方,怎么安装的过程,或者复现的过程贴一下 |
我遇到同样的问题,版本信息如下: 我尝试修改了node节点的kubelet证书签发文件
然后清理之前的证书,重新部署环境,现在kubectl exec可以进入Pod了,希望对你有所帮助 |
怎么复现,操作过程贴一下 |
复现过程能贴一下吗?我自己环境一直无法复现啊 |
我就是按照正常的步骤去安装的,我贴一下安装步骤和hosts文件、config.yml文件,你看下
|
谢谢,我自己也复现问题了,临时解决方案需要两步:1是增加/etc/hosts解析,2是修改node节点的kubelet证书签发文件 root@master-01:~# cat /etc/kubeasz/roles/kube-node/templates/kubelet-csr.json.j2 我尽快发布修复版本 |
已修复 a5b012e |
Kubeasz Version:3.5.2
|
帮忙看看这个问题3.5.2的版本安装master出的问题 |
@wxh512 已经提示你问题了,这个估计是因为节点之间时间不同步 |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Kubeasz Version:3.3.3
Kubernetes Version:1.24.10
ContainerRuntime:containerd 1.6.14
OS To Ubuntu: 20.04.5
kubeasz节点执行kubectl exec进入容器内部操作提示【Error from server: error dialing backend: x509: certificate is not valid for any names, but wanted to match worker-02】
The text was updated successfully, but these errors were encountered: