Skip to content

Instantly share code, notes, and snippets.

@pserrano
Last active September 22, 2017 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pserrano/99968d26eed4a492d1c0e3cd40be3c0b to your computer and use it in GitHub Desktop.
Save pserrano/99968d26eed4a492d1c0e3cd40be3c0b to your computer and use it in GitHub Desktop.
kubernetes fix user home
#To start using your cluster, you need to run (as a regular user):
sudo cp /etc/kubernetes/admin.conf $HOME/
sudo chown $(id -u):$(id -g) $HOME/admin.conf
export KUBECONFIG=$HOME/admin.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment