环境信息:
RKE2 版本:
v1.24.15+rke2r1
节点 CPU 架构,操作系统和版本:
Linux nlpt-pro-02 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 17:09:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
集群配置:
1 servers, 1 agents
问题描述:
agents加入servers失败
重现步骤:
- server安装 RKE2 的命令:
INSTALL_RKE2_MIRROR=cn INSTALL_RKE2_VERSION=v1.24.15+rke2r1 ./install.sh
- server安装 RKE2 的命令:
INSTALL_RKE2_MIRROR=cn INSTALL_RKE2_VERSION=v1.24.15+rke2r1 ./install.sh --config
/etc/rancher/rke2/config.yaml
agents 使用了config 安装
config:
server: https://172.30.1.31:9345
token: K102cf59a1c3fe541a4ce7f638086000e431f23417d0178651253b1662218492323::server:bbd345c16f0945c840babbb16519bf1a
tls-san:
- nlpt-pro-01
- 172.30.1.31
node-name: "nlpt-pro-01"
node-label:
- "role=Master"