We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TASK [calico : node label] ****************************************************************************************************************************************************** - block: - name: 选择rr节点(master节点) fatal: [10.129.16.46]: FAILED! => {"changed": true, "cmd": "for ip in 10.129.16.46 ;do /etc/kubeasz/bin/kubectl label node \"$ip\" route-reflector=true --overwrite; done", "delta": "0:00:00.055444", "end": "2023-08-23 19:42:11.292007", "msg": "non-zero return code", "rc": 1, "start": "2023-08-23 19:42:11.236563", "stderr": "Error from server (NotFound): nodes \"10.129.16.46\" not found", "stderr_lines": ["Error from server (NotFound): nodes \"10.129.16.46\" not found"], "stdout": "", "stdout_lines": []}
集群创建完成后,添加calico rr 节点报错,给节点打标签用的是IP,应该使用主机名。
kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME master-01 Ready,SchedulingDisabled master 44m v1.26.4 10.129.16.46 <none> CentOS Linux 7 (Core) 3.10.0-1160.88.1.el7.x86_64 containerd://1.6.20 master-02 Ready,SchedulingDisabled master 44m v1.26.4 10.129.16.85 <none> CentOS Linux 7 (Core) 3.10.0-1160.88.1.el7.x86_64 containerd://1.6.20 worker-01 Ready node 43m v1.26.4 10.129.18.129 <none> CentOS Linux 7 (Core) 3.10.0-1160.88.1.el7.x86_64 containerd://1.6.20
修改 clusters/k8s-01/config.yml
# [calico]设置calico 是否使用route reflectors # 如果集群规模超过50个节点,建议启用该特性 CALICO_RR_ENABLED: true # CALICO_RR_NODES 配置route reflectors的节点,如果未设置默认使用集群master节点 # CALICO_RR_NODES: ["192.168.1.1", "192.168.1.2"] CALICO_RR_NODES: ["10.129.16.46"]
No response
v1.26.4
3.5.3
$ cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" $ uname -a Linux VM-16-46-centos 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
先手动打下标签吧,这个bug后面版本中修复
Sorry, something went wrong.
56f0939
No branches or pull requests
What happened? 发生了什么问题?
What did you expect to happen? 期望的结果是什么?
集群创建完成后,添加calico rr 节点报错,给节点打标签用的是IP,应该使用主机名。
How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题
修改 clusters/k8s-01/config.yml
Anything else we need to know? 其他需要说明的情况
No response
Kubernetes version k8s 版本
v1.26.4
Kubeasz version
3.5.3
OS version 操作系统版本
Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况
No response
The text was updated successfully, but these errors were encountered: