Advertisement
Guest User

Untitled

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