kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.5k stars 4.89k forks source link

X Exiting due to HOST_KUBECONFIG_UPDATE: update config: get kubeconfig: decode kubeconfig from "C:\\Users\\besmi\\.kube\\config": decode data: : yaml: control characters are not allowed #19543

Closed besmirzanaj closed 2 months ago

besmirzanaj commented 2 months ago

What Happened?

X Exiting due to HOST_KUBECONFIG_UPDATE: update config: get kubeconfig: decode kubeconfig from "C:\Users\besmi\.kube\config": decode data: : yaml: control characters are not allowed

Attach the log file

logs.txt minikube_update-context_b3214355e77e70e19f05623eda6495fada083531_0.log

Operating System

Windows

Driver

VirtualBox

besmirzanaj commented 2 months ago

issue relied on a corrupt config file that was minikube was not able to correct/override. Manual fix: delete the config file at C:\Users\<user>\.kube\config and let minikube regenerate a new config file with minikube update-context