![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
k8s
MautheDoog
这个作者很懒,什么都没留下…
展开
-
k8s 的 secret 配置
接到一个问题, 我们测试环境访问的域名证书有问题,导致在证书校验的环境不能正常访问。 大佬告诉我说复制其他环境的secret 来就好。 但我知道个鬼,从哪里下手呢? 1,基于对k8s的一点点了解,服务是有namespace 区分的,当前系统中肯定是有部署好的,首先要找到secret,看看是什么样子。 2,百度了一下, 在k8s上配置ingress并启用HTTPS证书 - 走看看 从这里了解到 配置证书 涉及两个地方secret,ingress 3,开干 a,查询服务器..原创 2022-05-12 19:19:25 · 914 阅读 · 0 评论 -
The connection to the server localhost:8080 was refused - did you specify the right host or port?
遇到如下问题: [root@k8s-node1 ~]# kubectl get pod The connection to the server localhost:8080 was refused - did you specify the right host or port? 解决方式: cd /etc/kubernetes/ 查看到有个文件:kubelet.conf (你们的有可能是admin.conf) 执行命令 echo "export KUBECONFIG=/etc/ku..原创 2022-03-06 16:15:22 · 11798 阅读 · 0 评论