rke2 commands
2 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 2 shown
-
printf 'token: <id>\ntls-san:\n - <host>\n' > /etc/rancher/rke2/config.yaml && systemctl enable --now rke2-serverDeclarative server config + enable unit; add tls-san so the LB hostname is in the API cert
-
export PATH=$PATH:/var/lib/rancher/rke2/bin KUBECONFIG=/etc/rancher/rke2/rke2.yaml && rke2 ctr images lsrke2 ships its own kubectl/crictl/ctr under /var/lib/rancher/rke2/bin, not in $PATH by default
no commands match — try a different search