Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多云管理平台导入自建kubernetes集群后,只显示master节点信息,无work node节点相关信息 #704

Closed
wake-lee opened this issue Jun 28, 2021 · 6 comments
Labels

Comments

@wake-lee
Copy link

What happened:

多云管理平台导入自建kubernetes集群后,只显示master节点信息,无work node节点相关信息,添加kubernetes中work node节点时,操作窗口卡死无响应

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Erda version:v1.0.0
  • Kubernetes version (use kubectl version):v1.18.4
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):centos7.6 1810
  • Kernel (e.g. uname -a):3.10.0-957.el7.x86_64
  • Network plugin and version (if this is a network-related bug):calico v3.8.6
  • Others:
@sixther-dc
Copy link
Contributor

@wake-lee Does your kubernetes cluster only have master nodes? then you want to add nodes by erda。

@wake-lee
Copy link
Author

@wake-lee你的kubernetes集群是只有master节点吗?那你想通过erda来添加节点。
我的k8s集群是1主3work node,在erda平台导入k8s集群后,猜想:原本erda平台应该会显示k8s集群所有节点信息,但是erda平台只显示master一个节点信息。于是,通过erda平台添加work node节点信息,结果此操作卡死无响应。

@wake-lee
Copy link
Author

@sixther-dc 我的k8s集群是1主3work node,在erda平台导入k8s集群后,猜想:原本erda平台应该会显示k8s集群所有节点信息,但是erda平台只显示master一个节点信息。于是,通过erda平台添加work node节点信息,结果此操作卡死无响应。

@sixther-dc
Copy link
Contributor

@wake-lee Do you labeled all nodes with your created organization name not only master node ?

@wake-lee
Copy link
Author

@wake-lee 你是不是只用你创建的组织名称标记了所有节点,而不仅仅是主节点?

@sixther-dc 嗯,是你说的这个原因,目前已经解决了,非常感谢!

@wake-lee
Copy link
Author

wake-lee commented Jun 30, 2021

问题已解决,集群所有节点需要执行:
将您创建好的组织名称作为标签设置到您的 Kubernetes 节点上(组织名称是 Erda 中的一种组)
kubectl label node <node_name> dice/org-=true --overwrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants