-
Choerodon平台版本: 0.6.0
-
遇到问题的执行步骤:
-
文档地址:
-
环境信息(如:节点信息):
-
报错日志:
-
原因分析:
提出您分析问题的过程,以便我们能更准确的找到问题所在
The connection to the server localhost:8080 was refused - did you specify the right host or port? -
疑问:
提出您对于遇到和解决该问题时的疑问
部署按照猪吃鱼中的迁移手册迁移项目时,部署k8s,执行到kubectl get po -n kube-system时报错:error: the server doesn’t have a resource type “po”
然后修改命令为:kubectl get pod -n kube-system
继续报错:The connection to the server localhost:8080 was refused - did you specify the right host or port?
然后查找资料说是:端口代理有问题,然后开启端口代理后还是没有解决问题,特来请教,谢谢
请在master节点执行该命名
我就是单节点的集群呀
你搭建集群完成后 是否有报错信息?
安装猪吃鱼文档做的,没报错信息
请将kubeadm-ansible/inventory/hosts
文件内容展示一下
请问你执行了下面语句吗?
ansible-playbook -i inventory/hosts reset.yml
执行了的呀
你这个是阿里云的机器吗?
腾讯云的机器
但是举例是用的阿里云的机子举的例哒,腾讯云就不能按这个来做了啊。腾讯云请按 私有云安装示例
操作。
谢谢啦,我一直以为不管那个云都是服务器,,我明天再弄弄,谢谢:pray:!
你好,打扰了,我现在在用猪吃鱼连接集群时又出现了一个新问题:Error: release choerodon-cluster-agent-hdg failed: namespaces “choerodon” is forbidden: User “system:serviceaccount:kube-system:default” cannot get namespaces in the namespace “choerodon”
但是之前helm init时有个问题:不知道影响不:>
--service-account=helm-tiller$HELM_HOME has been configured at /root/.helm.
Warning: Tiller is already installed in the cluster.
(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)
谢谢了!