Skip to content

Instantly share code, notes, and snippets.

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

Run /usr/local/bin/

set -e
# make config readable by non-root user
curl -sfL | 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