Skip to content
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 ingress addon doesn't install #20477

Open
joaorosapaiss opened this issue Feb 27, 2025 · 10 comments
Open

Minikube ingress addon doesn't install #20477

joaorosapaiss opened this issue Feb 27, 2025 · 10 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@joaorosapaiss
Copy link

joaorosapaiss commented Feb 27, 2025

What Happened?

cant enable ingress

❌ Exiting due to MK_ADDON_ENABLE: enable failed: run callbacks: running callbacks: [waiting for app.kubernetes.io/name=ingress-nginx pods: context deadline exceeded]

Image

Attach the log file

Operating System

Ubuntu

Driver

Docker

@Ruchi1499
Copy link

From the provided log file it seems that network issue Error response from daemon: network Leia not found. Minikube is trying to inspect it but it does not exist earlier. Later it creates, but this delay could be impacting the Ingress pods.

@arlandi1974
Copy link

same thing happens to me.

Log files:

logs.txt

minikube_addons_53ac9a47d6047cf1443541ebeb273e32edb8604e_0.log

OS
Linux

Driver
Docker

@arlandi1974
Copy link

after waiting for several hours, it finally works. probably because it was related to network issue?

@Ruchi1499
Copy link

after waiting for several hours, it finally works. probably because it was related to network issue?

Yes, it could be a network issue possibly due to the slow image pulls, DNS resolution delays, or firewall restrictions causing retries. Waiting allowed it to resolve automatically.

@alexbenicio
Copy link

I have this same problem. I will give it a few more tries and check my network.

@azrulafiq
Copy link

when using docker as driver, i had no issues. when use none, then i had similar issue as highlight. guess i'll wait till it resolve my network issues. May i know how long you wait to get it resolved?

@arlandi1974
Copy link

when using docker as driver, i had no issues. when use none, then i had similar issue as highlight. guess i'll wait till it resolve my network issues. May i know how long you wait to get it resolved?

I only waited for 2 or 3 hours. I also uses docker as driver.

@azrulafiq
Copy link

when using docker as driver, i had no issues. when use none, then i had similar issue as highlight. guess i'll wait till it resolve my network issues. May i know how long you wait to get it resolved?

I only waited for 2 or 3 hours. I also uses docker as driver.

Thanks, guess i'll wait then.

@kundan2707
Copy link
Contributor

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Mar 6, 2025
@azrulafiq
Copy link

So i wait and it doesn fix on its own. So what I did is:

kubectl get nodes --show-labels
kubectl label node [nodename] minikube.k8s.io/primary=true

then delete the minikube and start again with adding the ingress addon. Works fine for me. Hope this helps some

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

7 participants