root@k3s-node-03:~# kubectl get nodes
NAME          STATUS   ROLES                       AGE   VERSION
k3s-node-01   Ready    control-plane,etcd,master   93d   v1.26.10+k3s2
k3s-node-02   Ready    control-plane,etcd,master   93d   v1.26.10+k3s2
k3s-node-03   Ready    control-plane,etcd,master   93d   v1.26.10+k3s2
root@k3s-node-03:~#
root@k3s-node-03:~# curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.27.9+k3s1  K3S_TOKEN=R4h4s1@5758#  sh -s - server --server https://k3s-node-01:6443
[INFO]  Using v1.27.9+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.27.9+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.27.9+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Skipping /usr/local/bin/kubectl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/crictl symlink to k3s, already exists
[INFO]  Skipping /usr/local/bin/ctr symlink to k3s, command exists in PATH at /usr/bin/ctr
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
root@k3s-node-03:~#
root@k3s-node-03:~# kubectl get nodes
NAME          STATUS   ROLES                       AGE   VERSION
k3s-node-01   Ready    control-plane,etcd,master   93d   v1.26.10+k3s2
k3s-node-02   Ready    control-plane,etcd,master   93d   v1.26.10+k3s2
k3s-node-03   Ready    control-plane,etcd,master   93d   v1.27.9+k3s1
root@k3s-node-03:~#
root@k3s-node-03:~#

Leave a Reply

Your email address will not be published. Required fields are marked *