Skip to content

Instantly share code, notes, and snippets.

@alknopfler
Last active June 4, 2023 21:01
Show Gist options
  • Select an option

  • Save alknopfler/0057c11d57b30fb5efc814200b2129a9 to your computer and use it in GitHub Desktop.

Select an option

Save alknopfler/0057c11d57b30fb5efc814200b2129a9 to your computer and use it in GitHub Desktop.
Install k3s on sle micro

install k3s on slemicro:

curl -sfL https://get.k3s.io | sh -

Para una version específica:

curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.25.9+k3s1 sh -

After running this installation:

The K3s service will be configured to automatically restart after node reboots or if the process crashes or is killed Additional utilities will be installed, including kubectl, crictl, ctr, k3s-killall.sh, and k3s-uninstall.sh A kubeconfig file will be written to /etc/rancher/k3s/k3s.yaml and the kubectl installed by K3s will automatically use it

uninstall k3s:

/usr/local/bin/k3s-uninstall.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment