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
Backport fix for K3s should not perform etcd setup when managed etcd is not enabled
The text was updated successfully, but these errors were encountered:
Infrastructure
Node(s) CPU architecture, OS, and Version:
PRETTY_NAME="Ubuntu 22.04.2 LTS"
Cluster Configuration:
2 servers, 1 agent Split role setup: 1 etcd-only, 1 cp-only and 1 agent node
Config.yaml:
# etcd-only S1 disable-apiserver: true disable-controller-manager: true disable-scheduler: true node-taint: - node-role.kubernetes.io/etcd:NoExecute write-kubeconfig-mode: 644 cluster-init: true # cp-only S2 disable-etcd: true node-taint: - node-role.kubernetes.io/control-plane:NoSchedule server: "https://<IP of S1>:6443" token: "<K10 from S1>" write-kubeconfig-mode: 644 # agent server: "https://<IP of S1>:6443" token: "<K10 from S1>"
$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s
disable-etcd: true
$ sudo ls -la /var/lib/rancher/k3s/server/tls/etcd ... -rw-r--r-- 1 root root 1258 Jul 18 16:16 server-client.crt -rw------- 1 root root 227 Jul 18 16:16 server-client.key
Replication Results:
k3s version v1.25.11+k3s1 (582f07cf) go version go1.19.10
$ sudo ls -la /var/lib/rancher/k3s/server/tls/etcd total 48 drwx------ 2 root root 4096 Jul 18 16:16 . drwx------ 4 root root 4096 Jul 18 16:16 .. -rw-r--r-- 1 root root 1140 Jul 18 16:16 client.crt -rw------- 1 root root 227 Jul 18 16:16 client.key -rw------- 1 root root 566 Jul 18 16:00 peer-ca.crt -rw------- 1 root root 227 Jul 18 16:00 peer-ca.key -rw-r--r-- 1 root root 1250 Jul 18 16:16 peer-server-client.crt -rw------- 1 root root 227 Jul 18 16:16 peer-server-client.key -rw------- 1 root root 570 Jul 18 16:00 server-ca.crt -rw------- 1 root root 227 Jul 18 16:00 server-ca.key -rw-r--r-- 1 root root 1258 Jul 18 16:16 server-client.crt -rw------- 1 root root 227 Jul 18 16:16 server-client.key
Validation Results:
k3s version v1.25.11+k3s-f7ab577c (f7ab577c) go version go1.19.10
$ sudo ls -la /var/lib/rancher/k3s/server/tls/etcd total 40 drwx------ 2 root root 4096 Jul 18 17:57 . drwx------ 4 root root 4096 Jul 18 17:57 .. -rw-r--r-- 1 root root 1144 Jul 18 17:57 client.crt -rw------- 1 root root 227 Jul 18 17:57 client.key -rw------- 1 root root 566 Jul 18 17:51 peer-ca.crt -rw------- 1 root root 227 Jul 18 17:51 peer-ca.key -rw-r--r-- 1 root root 1250 Jul 18 17:57 peer-server-client.crt -rw------- 1 root root 227 Jul 18 17:57 peer-server-client.key -rw------- 1 root root 574 Jul 18 17:51 server-ca.crt -rw------- 1 root root 227 Jul 18 17:51 server-ca.key
Sorry, something went wrong.
fmoral2
No branches or pull requests
Backport fix for K3s should not perform etcd setup when managed etcd is not enabled
The text was updated successfully, but these errors were encountered: