一、问题
当kubeadm安装完k8s后,使用kubectl命令,提示Unable to connect to the server: x509: certificate signed by unknown authority
。
二、 解决
配置用户使用kubectl访问集群
FunkyTeddy ©著作权
文章标签 Kube Kubernetes root用户 文章分类 运维
当kubeadm安装完k8s后,使用kubectl命令,提示Unable to connect to the server: x509: certificate signed by unknown authority
。
配置用户使用kubectl访问集群
上一篇:数据脱敏之ID加解密
下一篇:gitlab初始化项目和冲突解决
记录一下常用的虚拟终端和X Server
执行查看节点出现以下报错[root@k8s-master ~]# kubectl get nodeUnable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while tryingrity c
添加-k参数跳过认证即可。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M