-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minikube not setting kubectl config #20223
Labels
kind/support
Categorizes issue or PR as a support question.
Comments
FYI, does the same with kubectl v1.31:
|
/kind support |
Hey, there is a discussion on stackOverflow for the same . please check this |
If this doesnt work, please mention here but check first if the kubeconfig env variable is set to right path. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What Happened?
Installed Debian 12 server netinstall, install all the pre-reqs including docker and kubectl. Downloaded binary for Minikube as the DEB is corrupt on releases/latest page. Ran minikube with the following:
minikube start minikube start --driver=docker
😄 minikube v1.34.0 on Debian 12.8
✨ Using the docker driver based on user configuration
📌 Using Docker driver with root privileges
👍 Starting "minikube" primary control-plane node in "minikube" cluster
🚜 Pulling base image v0.0.45 ...
🔥 Creating docker container (CPUs=2, Memory=16000MB) ...
🐳 Preparing Kubernetes v1.31.0 on Docker 27.2.0 ...
▪ Generating certificates and keys ...
▪ Booting up control plane ...
▪ Configuring RBAC rules ...
🔗 Configuring bridge CNI (Container Networking Interface) ...
🔎 Verifying Kubernetes components...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟 Enabled addons: storage-provisioner, default-storageclass
🏄 Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
kubectl version
Client Version: v1.32.0
Kustomize Version: v5.5.0
The connection to the server localhost:8080 was refused - did you specify the right host or port?
kubectl config view
apiVersion: v1
clusters: null
contexts:
cluster: ""
user: ""
name: minikube
current-context: minikube
kind: Config
preferences: {}
users: null
minikube kubectl -- version
Client Version: v1.31.0
Kustomize Version: v5.4.2
Server Version: v1.31.0
Attach the log file
logs.txt
Operating System
Other
Driver
Docker
The text was updated successfully, but these errors were encountered: