Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kubectl is now configured to use the cluster.
- ===================
- WARNING: IT IS RECOMMENDED NOT TO RUN THE NONE DRIVER ON PERSONAL WORKSTATIONS
- The 'none' driver will run an insecure kubernetes apiserver as root that may leave the host vulnerable to CSRF attacks
- When using the none driver, the kubectl config and credentials generated will be root owned and will appear in the root home directory.
- You will need to move the files to the appropriate location and then set the correct permissions. An example of this is below:
- sudo mv /root/.kube $HOME/.kube # this will write over any previous configuration
- sudo chown -R $USER $HOME/.kube
- sudo chgrp -R $USER $HOME/.kube
- sudo mv /root/.minikube $HOME/.minikube # this will write over any previous configuration
- sudo chown -R $USER $HOME/.minikube
- sudo chgrp -R $USER $HOME/.minikube
- This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
- Loading cached images from config file.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement