06 2021 档案

摘要:一、创建访问的证书 1、查看/root/.kube/config cat /root/.kube/config 2、把证书设为环境变量 export clientcert=$(grep client-cert ~/.kube/config |cut -d" " -f 6) export client 阅读全文
posted @ 2021-06-30 10:03 巽逸 阅读(1121) 评论(0) 推荐(0) 编辑
摘要:一、问题描述 容器中修改了/etc/hosts文件。手动测试已经生效。但是容器中的项目却还是访问的公网。 二、问题解决 修改dockerfile。在dockerfile中添加/etc/nsswitch.conf文件 RUN [ ! -e /etc/nsswitch.conf ] && echo 'h 阅读全文
posted @ 2021-06-18 16:10 巽逸 阅读(836) 评论(0) 推荐(0) 编辑
摘要:一、问题描述 删除namespace资源时忘记先删除namespace中的其他资源了。然后状态就一直是Terminating 二、删除语句 注意:kubesphere-system是需要删除的namespace kubectl get namespace kubesphere-system -o j 阅读全文
posted @ 2021-06-11 16:53 巽逸 阅读(128) 评论(0) 推荐(0) 编辑
摘要:一、基础环境介绍 阿里云服务器 centos 7.9 [root@master ~]# cat /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost 阅读全文
posted @ 2021-06-11 14:17 巽逸 阅读(0) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示