kubesphere master节点执行kubectl get po Unable to connect to the server: Forbidden
在kubesphere master节点上执行kubectl get po -n xx报出Unable to connect to the server: Forbidden的错误信息,但是集群整体运行是没有问题的,而且在worker节点上是可以执行kubectl get po命令的,最终发现是前段时间在kubesphere master节点设置了http代理的问题(笔者的是内网机器,需要通过http代理服务器访问外网),所以在shell命令行输入下面的命令取消http_proxy、https_proxy即可:
unset http_proxy
unset https_proxy
kubectl get po -n xxx
参考文章:
1、Unable to connect to the server error when try to kubectl run hello-minikube on minikube · Issue #1229 · kubernetes/minikube · GitHub
kubesphere master节点执行kubectl get po Unable to connect to the server: Forbidden相关推荐
- kubectl get node运行时出现:Unable to connect to the server: x509: certificate signed by unknown authority
kubectl get nodes运行时出现:Unable to connect to the server: x509: certificate signed by unknown authorit ...
- aks Unable to connect to the server: x509
问题: aks 执行kubectl get pods 等命令 遇到: Unable to connect to the server: x509: certificate signed by unkn ...
- EKS 解决Unable to connect to the server 问题
报错内容如下 Unable to connect to the server: getting credentials: exec plugin is configured to use API ve ...
- k8s系列之:Unable to connect to the server: x509: certificate signed by unknown authority
k8s系列之:Unable to connect to the server: x509: certificate signed by unknown authority K8s使用kubeadm r ...
- 解决: Unable to connect to zookeeper server within timeout: 5000
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 一个项目启动不起来了,报错如题: Caused by: org.I0Itec.zkclient.ex ...
- Android 模拟器连接异常:Unable to connect to ADB server
简介 在使用Android Studio开始的过程是,偶尔会突然出现一只在检测设备,导致无法进行运行的调试的情况,本文记录下解决方法 现象描述 在启动Android Studio后,在设备状态栏中一直 ...
- VNC Viewer 远程 Unable to connect to VNC Server using your chosen securitysetting. 问题解决
VNC Viewer 远程 Ubuntu桌面时(VNC服务端为Vino)可能出现以下问题: Unable to connect to VNC Server using your chosen secu ...
- Unable to connect to PostgreSQL server: FATAL: missing or erroneous pg_hba.conf file\nHINT: See se
经过一番的yum, 编译, 配置. 终于搭建了在CentOS上的apache + php + postgreSQL环境... 但是在php连接的时候总是报 Unable to connect to P ...
- kubeadm reset后安装遇到的错误:Unable to connect to the server: x509: certificate signed by unknown authority
前面通过kubeadm reset重置k8s环境之后,执行了kubeadm init命令 [root@m ~]# kubeadm init --kubernetes-version=1.14.0 -- ...
最新文章
- 315道Python面试题,欢迎挑战
- if (argc == 1) 到底有什么作用?
- python爬虫Scrapy框架之增量式爬虫
- 如何检测远程主机上的某个端口是否开启
- JSP和Servlet的六种中文乱码处理方法
- Spring 提供几种配置方式来设置元数据?
- 《MySQL——关于grant赋权以及flush privileges》
- 高级Python:定义类时要应用的9种最佳做法
- C++学习:两个vector对象拼接
- 项目管理平台(总结篇一)
- 【iCore4 双核心板_ARM】例程二十三:LWIP_HTTP实验——网页服务器
- 面试题之数据库事务隔离级别
- 免费画图软件推荐 - draw.io
- 计算机网络-路由交换技术
- 程序员的8个职业发展方向,了解一下!
- 【文件加密】电脑文件夹简单加密教程
- android时间24小时,安卓时间显示TextClock显示日期时间,24小时制和12小时制(自定义...
- 在自建机房给网站做ICP备案
- 橡胶密封圈的作用和优点
- 坚信人类记忆是以大分子物质存储的朋友们请看过来
热门文章
- 【计算机科学】【2020.05】基于深度学习的计算蛋白质结构预测
- html5导航栏向应折叠,超实用!网站导航栏设计形式总结
- 全智通A+常见问题汇总解答—A+修正维修详情页面打印派工清单和领料清单按钮无效
- 智伴机器人三级分销模式_微信三级分销模式的可行性?
- 微信点餐小程序开发_分享微信点餐小程序可以实现哪些功能
- Spring Cloud项目是如何读取bootstrap.properties文件的?
- archlinux音量管理
- ever since用法
- 期货平仓/强制平仓/爆仓-股市平仓建仓
- 股票爆仓应该具体怎么办呢?股票爆仓常见的危险是什么?