Run /usr/local/bin/k3s-uninstall.sh
Last active
February 1, 2020 04:57
-
-
Save nanmu42/a5604d1ecfa2a1bc80567e2a95e54859 to your computer and use it in GitHub Desktop.
K3S Jumpstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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