2024年5月8日

经过dnat后访问kube-apiserver证书认证失败

摘要: 问题现象 iptables -t nat -I OUTPUT -d 10.10.10.10 -p tcp --dport 443 -j DNAT --to-destination 192.168.0.105:6443 # 报错requested domain name does not match 阅读全文

posted @ 2024-05-08 23:53 王景迁 阅读(4) 评论(0) 推荐(0) 编辑

使用kubeconfig报错localhost 8080 was refused

摘要: 问题现象 使用kubeconfig时,报错the server localhost:8080 was refused。 问题分析 对比正常kubeconfig,缺少current-context。 解决问题 kubectl --kubeconfig=config config use-context 阅读全文

posted @ 2024-05-08 22:37 王景迁 阅读(5) 评论(0) 推荐(0) 编辑

导航