一个伪linux粉丝的blog

  1. 首页
  2. unix/linux
  3. 正文

kubeconfig-x509

3月 16, 2021 185点热度 0人点赞 0条评论

恢复自 https://webcache.googleusercontent.com/ 的缓存,上一次未续费丢数据了,能找回多少恢复多少吧。

外区同事转化了一个kube config文件,然后集群外开了防火墙端口,接着 kubectl  get po 调用,遇到如下报错

Unable to connect to the server: x509: certificate is valid for 192.168.111.10, 172.31.0.1, 127.0.0.1, 192.168.111.14, not 10.10.4.21

 

找到2个地址

https://stackoverflow.com/questions/63451290/microk8s-devops-unable-to-connect-to-the-server-x509-certificate-is-valid-f

https://www.henryxieblogs.com/2018/11/kubectl-unable-to-connect-to-server.html

在server IP:port 上面加1行 ,问题解决。
insecure-skip-tls-verify:true

相关文章:

  1. Mtr(My traceroute) 使用简介
  2. crontab log error
  3. SSHTunnel Provides a Secure Internet Connection for Your Android
  4. debian-lighttpd-install
标签: x509
最后更新:2月 20, 2022

wanjie

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

取消回复

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。

归档
分类
  • network / 324篇
  • Uncategorized / 114篇
  • unix/linux / 113篇
  • 业界资讯 / 38篇
  • 公司杂事 / 11篇
  • 数码影像 / 12篇
  • 美剧 / 3篇
  • 美图共赏 / 20篇
  • 英语学习 / 3篇
标签聚合
邮件归档 nexus 虚拟主机 Nginx ipv6 ldap Google Voice docker d90 VPS dreamhost kubectl 天翼live 日全食 kernel 纵贯线 职责 网站运营 黑莓8700 Google Google Adwords gitlab ssh CentOS k8s Ubuntu wget google-chrome 刷机 泰国

COPYRIGHT © 2008-2022 wanjie.info. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang