The requirements for building a SUSE Rancher on RKE2 Kubernetes cluster are as follows:
SUSE Rancher server
SUSE Rancher server is used from Workstation VM.
SUSE Rancher Kubernetes Engine Government (RKE2)
RKE2 is used from Workstation VM.
Kubectl to interact with Kubernetes cluster.
SLES15 SPx nodes
Ensure that the nodes are accessed using SSH and the required ports must be opened before the cluster installation.
PowerFlex CSI is used from the Workstation VM.
Note: All servers must have SUSE SLES license and be able to connect to SUSE customer center or a local RMT server. To update the servers to latest updates, run the zypper update.
$ systemctl disable apparmor.service
$ systemctl disable firewalld.service
$ systemctl stop apparmor.service
$ systemctl stop firewalld.service
$ systemctl status apparmor.service
$ systemctl status firewalld.service
The RKE2 binary is available for Windows and Linux operating systems. In this solution, RKE2 is run from a Linux workstation VM. RKE2 connects to the nodes using SSH key pairs.
$HOME/.ssh/id_rsa (SSH private key, keep this secure)$HOME/.ssh/id_rsa.pub (SSH public key)
|$ ssh-copy-id -i ~/.ssh/id_rsa.pub <user_name>@<hostname>|
|$ ssh -i $HOME/.ssh/id_rsa <user_name>@<hostname>|
$ systemctl disable swap.target
$ swapoff -a