Skip to content

Instantly share code, notes, and snippets.

@nanmu42
Last active Feb 1, 2020
Embed
What would you like to do?
K3S Jumpstart

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

set -e
# make config readable by non-root user
# https://github.com/rancher/k3s/issues/389#issuecomment-503482103
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" sh -s - server --no-deploy traefik
# set kubeconfig env
echo 'export KUBECONFIG="~/.kube/config:/etc/rancher/k3s/k3s.yaml"' >> ~/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment