Giter VIP home page Giter VIP logo

Exiting due to GUEST_START: failed to start node: Failed kubeconfig update: writing kubeconfig: Error creating directory: /home/venkatesh/.kube: mkdir /home/venkatesh/.kube: permission denied about minikube HOT 2 CLOSED

VenkateshGangitla05 avatar VenkateshGangitla05 commented on June 6, 2024
Exiting due to GUEST_START: failed to start node: Failed kubeconfig update: writing kubeconfig: Error creating directory: /home/venkatesh/.kube: mkdir /home/venkatesh/.kube: permission denied

from minikube.

Comments (2)

VenkateshGangitla05 avatar VenkateshGangitla05 commented on June 6, 2024

hi,

After I have created directory, I am getting error that: -
command I used :- minikube start
πŸ˜„ minikube v1.33.0 on Ubuntu 20.04 (amd64)
✨ Using the docker driver based on existing profile
πŸ‘ Starting "minikube" primary control-plane node in "minikube" cluster
🚜 Pulling base image v0.0.43 ...
πŸƒ Updating the running docker "minikube" container ...
🐳 Preparing Kubernetes v1.30.0 on Docker 26.0.1 ...
🀦 Unable to restart control-plane node(s), will reset cluster:
β–ͺ Generating certificates and keys ...
β–ͺ Booting up control plane ...
β–ͺ Configuring RBAC rules ...
πŸ”— Configuring bridge CNI (Container Networking Interface) ...

🚫 Exiting due to HOST_KUBECONFIG_PERMISSION: Failed kubeconfig update: writing kubeconfig: Error writing file /home/venkatesh/.kube/config: open /home/venkatesh/.kube/config: permission denied
Suggestion: Run: 'sudo chown $USER $HOME/.kube/config && chmod 600 $HOME/.kube/config'

I followed suggestion and executed this command:-
sudo chown $USER $HOME/.kube/config && chmod 600 $HOME/.kube/config
but getting error that: - chown: cannot access '/home/venkatesh/.kube/config': No such file or directory

will someone help me on this

#Exiting due to GUEST_START: failed to start node: Failed kubeconfig update: writing kubeconfig:

from minikube.

VenkateshGangitla05 avatar VenkateshGangitla05 commented on June 6, 2024

sudo chown $USER $HOME/.kube && chmod 700 $HOME/.kube
sudo chmod 777 $HOME/.kube

these two commands help me to fix the issue.

from minikube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.