RKE 版本:
RKE1.3.11
Docker 版本: (docker version
,docker info
)
$cat /etc/os-release
PRETTY_NAME=“Ubuntu 22.04.2 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.2 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/”
SUPPORT_URL=“https://help.ubuntu.com/”
BUG_REPORT_URL=“Bugs : Ubuntu”
PRIVACY_POLICY_URL=“Data privacy | Ubuntu”
UBUNTU_CODENAME=jammy
$ docker version
Client: Docker Engine - Community
Version: 20.10.24
API version: 1.41
Go version: go1.19.7
Git commit: 297e128
Built: Tue Apr 4 18:21:03 2023
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.24
API version: 1.41 (minimum version 1.12)
Go version: go1.19.7
Git commit: 5d6db84
Built: Tue Apr 4 18:18:48 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.20
GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc:
Version: 1.1.5
GitCommit: v1.1.5-0-gf19387a
docker-init:
Version: 0.19.0
GitCommit: de40ad0
操作系统和内核: (cat /etc/os-release
, uname -r
)
$cat /etc/os-release
PRETTY_NAME=“Ubuntu 22.04.2 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.2 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/”
SUPPORT_URL=“https://help.ubuntu.com/”
BUG_REPORT_URL=“Bugs : Ubuntu”
PRIVACY_POLICY_URL=“Data privacy | Ubuntu”
UBUNTU_CODENAME=jammy
$ uname -r
5.15.0-70-generic
主机类型和供应商: (VirtualBox/Bare-metal/AWS/GCE/DO)
hcs 华为私有云
cluster.yml 文件:
nodes:
- address: 10.82.40.117
user: dfuser
role: [‘controlplane’, ‘etcd’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.80
user: dfuser
role: [‘controlplane’, ‘etcd’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.151
user: dfuser
role: [‘controlplane’, ‘etcd’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.120
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.164
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.123
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.245
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.222
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.220
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.75
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.133
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.45
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.224
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.9
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa - address: 10.82.40.63
user: dfuser
role: [‘worker’]
ssh_key_path: /home/dfuser/.ssh/id_rsa
enable_cri_dockerd: true
network:
重现步骤:
rke up
结果:
etcd logs