Closed newtoniumx3 closed 2 years ago
I checked the logs kubectl get pods --namespace kube-system
and see this
ingress-nginx-admission-create-lp98w 0/1 ImagePullBackOff 0 88s
ingress-nginx-admission-patch-pbff9 0/1 ErrImagePull 0 88s
ingress-nginx-controller-558664778f-s5c9t 0/1 ContainerCreating 0 88s
I've also set NO_PROXY
❯ echo $env:NO_PROXY
localhost,127.0.0.1,10.96.0.0/12,192.168.99.0/24,192.168.39.0/24
Hey @newtoniumx3 thanks for opening this issue. Could you provide more details around the pods so we can figure out why the image isn't being pulled?
kubectl describe po ingress-nginx-admission-create-lp98w --namespace kube-system
If you have docker running, I'm also curious if this happens with the docker driver as well? If you could try:
minikube start --driver docker -p docker
minikube addons enable ingress
minikube delete -p docker
that should let us know if it works with ingress.
Hey @newtoniumx3 thanks for opening this issue. Could you provide more details around the pods so we can figure out why the image isn't being pulled?
kubectl describe po ingress-nginx-admission-create-lp98w --namespace kube-system
If you have docker running, I'm also curious if this happens with the docker driver as well? If you could try:
minikube start --driver docker -p docker minikube addons enable ingress minikube delete -p docker
that should let us know if it works with ingress.
Hey I’m currently afraid to touch it as I finally got everything working using Kubernetes that ships with docker desktop. I’m not sure I’m willing to risk messing with my config again as I was down over a week when this stopped working for some strange reason (because I always had it working for months prior).
I will attempt on different machine to see if I can reproduce it.
@newtoniumx3 thanks, no worries if it's too difficult to try to reproduce!
@newtoniumx3 I'm going to close this issue, but if you end up being able to reproduce the issue feel free to reopen.
I'm seeing this same issue when enabling the ingress addon. Let me know what other information would be helpful here.
$ uname -a
Linux awx 4.19.0-14-arm64 #1 SMP Debian 4.19.171-2 (2021-01-30) aarch64 GNU/Linux
$ minikube version
minikube version: v1.19.0
commit: 15cede53bdc5fe242228853e737333b09d4336b5
$ minikube addons enable ingress -v=5 --alsologtostderr
I0411 08:10:33.701931 21466 out.go:278] Setting OutFile to fd 1 ...
I0411 08:10:33.702134 21466 out.go:330] isatty.IsTerminal(1) = true
I0411 08:10:33.702167 21466 out.go:291] Setting ErrFile to fd 2...
I0411 08:10:33.702191 21466 out.go:330] isatty.IsTerminal(2) = true
I0411 08:10:33.702383 21466 root.go:317] Updating PATH: /home/nate/.minikube/bin
W0411 08:10:33.702615 21466 root.go:292] Error reading config file at /home/nate/.minikube/config/config.json: open /home/nate/.minikube/config/config.json: no such file or directory
I0411 08:10:33.703183 21466 addons.go:55] Setting ingress=true in profile "minikube"
I0411 08:10:33.703226 21466 addons.go:131] Setting addon ingress=true in "minikube"
I0411 08:10:33.703292 21466 host.go:66] Checking if "minikube" exists ...
I0411 08:10:33.704276 21466 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0411 08:10:33.775282 21466 out.go:157] ▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
I0411 08:10:33.776992 21466 out.go:157] ▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0411 08:10:33.778497 21466 out.go:157] ▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0411 08:10:33.778595 21466 addons.go:261] installing /etc/kubernetes/addons/ingress-configmap.yaml
I0411 08:10:33.778638 21466 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-configmap.yaml (1865 bytes)
I0411 08:10:33.778744 21466 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0411 08:10:33.837673 21466 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49157 SSHKeyPath:/home/nate/.minikube/machines/minikube/id_rsa Username:docker}
I0411 08:10:33.957576 21466 addons.go:261] installing /etc/kubernetes/addons/ingress-rbac.yaml
I0411 08:10:33.957619 21466 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-rbac.yaml (6005 bytes)
I0411 08:10:33.977878 21466 addons.go:261] installing /etc/kubernetes/addons/ingress-dp.yaml
I0411 08:10:33.977918 21466 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-dp.yaml (9125 bytes)
I0411 08:10:33.998092 21466 ssh_runner.go:149] Run: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.20.2/kubectl apply -f /etc/kubernetes/addons/ingress-configmap.yaml -f /etc/kubernetes/addons/ingress-rbac.yaml -f /etc/kubernetes/addons/ingress-dp.yaml
I0411 08:10:34.351846 21466 addons.go:299] Verifying addon ingress=true in "minikube"
I0411 08:10:34.354113 21466 out.go:157] 🔎 Verifying ingress addon...
🔎 Verifying ingress addon...
I0411 08:10:34.357070 21466 kapi.go:59] client config for minikube: &rest.Config{Host:"https://192.168.49.2:8443", APIPath:"", ContentConfig:rest.ContentConfig{AcceptContentTypes:"", ContentType:"", GroupVersion:(*schema.GroupVersion)(nil), NegotiatedSerializer:runtime.NegotiatedSerializer(nil)}, Username:"", Password:"", BearerToken:"", BearerTokenFile:"", Impersonate:rest.ImpersonationConfig{UserName:"", Groups:[]string(nil), Extra:map[string][]string(nil)}, AuthProvider:<nil>, AuthConfigPersister:rest.AuthProviderConfigPersister(nil), ExecProvider:<nil>, TLSClientConfig:rest.sanitizedTLSClientConfig{Insecure:false, ServerName:"", CertFile:"/home/nate/.minikube/profiles/minikube/client.crt", KeyFile:"/home/nate/.minikube/profiles/minikube/client.key", CAFile:"/home/nate/.minikube/ca.crt", CertData:[]uint8(nil), KeyData:[]uint8(nil), CAData:[]uint8(nil), NextProtos:[]string(nil)}, UserAgent:"", DisableCompression:false, Transport:http.RoundTripper(nil), WrapTransport:(transport.WrapperFunc)(0x132efd0), QPS:0, Burst:0, RateLimiter:flowcontrol.RateLimiter(nil), WarningHandler:rest.WarningHandler(nil), Timeout:0, Dial:(func(context.Context, string, string) (net.Conn, error))(nil), Proxy:(func(*http.Request) (*url.URL, error))(nil)}
I0411 08:10:34.357853 21466 cert_rotation.go:137] Starting client certificate rotation controller
I0411 08:10:34.361097 21466 kapi.go:75] Waiting for pod with label "app.kubernetes.io/name=ingress-nginx" in ns "ingress-nginx" ...
I0411 08:10:34.387895 21466 kapi.go:86] Found 3 Pods for label selector app.kubernetes.io/name=ingress-nginx
I0411 08:10:34.387929 21466 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0411 08:10:34.893599 21466 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0411 08:10:35.392547 21466 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0411 08:10:35.892783 21466 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0411 08:10:36.392584 21466 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0411 08:10:36.893074 21466 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
@newtoniumx3 do u mind trying with latest version of minikube again, we fixed an inagress bug in v1.20.0 that could help with this ?
@medyagh I gave v1.20.0 a try, but unfortunately, the error still occurs for me.
$ minikube version
minikube version: v1.20.0
commit: c61663e942ec43b20e8e70839dcca52e44cd85ae-dirty
$ minikube addons enable ingress -v=5 --alsologtostderr
I0520 22:43:30.604806 640679 out.go:291] Setting OutFile to fd 1 ...
I0520 22:43:30.604943 640679 out.go:343] isatty.IsTerminal(1) = true
I0520 22:43:30.604952 640679 out.go:304] Setting ErrFile to fd 2...
I0520 22:43:30.604958 640679 out.go:343] isatty.IsTerminal(2) = true
I0520 22:43:30.605082 640679 root.go:316] Updating PATH: /home/x3a/.minikube/bin
W0520 22:43:30.605191 640679 root.go:291] Error reading config file at /home/x3a/.minikube/config/config.json: open /home/x3a/.minikube/config/config.json: no such file or directory
I0520 22:43:30.605551 640679 addons.go:55] Setting ingress=true in profile "minikube"
I0520 22:43:30.605568 640679 addons.go:131] Setting addon ingress=true in "minikube"
I0520 22:43:30.605587 640679 host.go:66] Checking if "minikube" exists ...
I0520 22:43:30.606144 640679 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0520 22:43:30.643166 640679 out.go:170] ▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
I0520 22:43:30.646769 640679 out.go:170] ▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0520 22:43:30.648047 640679 out.go:170] ▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0520 22:43:30.648082 640679 addons.go:261] installing /etc/kubernetes/addons/ingress-configmap.yaml
I0520 22:43:30.648104 640679 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-configmap.yaml (1865 bytes)
I0520 22:43:30.648157 640679 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0520 22:43:30.672385 640679 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:49172 SSHKeyPath:/home/x3a/.minikube/machines/minikube/id_rsa Username:docker}
I0520 22:43:30.762305 640679 addons.go:261] installing /etc/kubernetes/addons/ingress-rbac.yaml
I0520 22:43:30.762330 640679 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-rbac.yaml (6005 bytes)
I0520 22:43:30.769416 640679 addons.go:261] installing /etc/kubernetes/addons/ingress-dp.yaml
I0520 22:43:30.769438 640679 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-dp.yaml (9394 bytes)
I0520 22:43:30.778162 640679 ssh_runner.go:149] Run: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.20.2/kubectl apply -f /etc/kubernetes/addons/ingress-configmap.yaml -f /etc/kubernetes/addons/ingress-rbac.yaml -f /etc/kubernetes/addons/ingress-dp.yaml
I0520 22:43:31.100192 640679 addons.go:299] Verifying addon ingress=true in "minikube"
I0520 22:43:31.102061 640679 out.go:170] 🔎 Verifying ingress addon...
🔎 Verifying ingress addon...
I0520 22:43:31.103062 640679 kapi.go:59] client config for minikube: &rest.Config{Host:"https://192.168.49.2:8443", APIPath:"", ContentConfig:rest.ContentConfig{AcceptContentTypes:"", ContentType:"", GroupVersion:(*schema.GroupVersion)(nil), NegotiatedSerializer:runtime.NegotiatedSerializer(nil)}, Username:"", Password:"", BearerToken:"", BearerTokenFile:"", Impersonate:rest.ImpersonationConfig{UserName:"", Groups:[]string(nil), Extra:map[string][]string(nil)}, AuthProvider:<nil>, AuthConfigPersister:rest.AuthProviderConfigPersister(nil), ExecProvider:<nil>, TLSClientConfig:rest.sanitizedTLSClientConfig{Insecure:false, ServerName:"", CertFile:"/home/x3a/.minikube/profiles/minikube/client.crt", KeyFile:"/home/x3a/.minikube/profiles/minikube/client.key", CAFile:"/home/x3a/.minikube/ca.crt", CertData:[]uint8(nil), KeyData:[]uint8(nil), CAData:[]uint8(nil), NextProtos:[]string(nil)}, UserAgent:"", DisableCompression:false, Transport:http.RoundTripper(nil), WrapTransport:(transport.WrapperFunc)(0x55cf714627a0), QPS:0, Burst:0, RateLimiter:flowcontrol.RateLimiter(nil), WarningHandler:rest.WarningHandler(nil), Timeout:0, Dial:(func(context.Context, string, string) (net.Conn, error))(nil), Proxy:(func(*http.Request) (*url.URL, error))(nil)}
I0520 22:43:31.103381 640679 cert_rotation.go:137] Starting client certificate rotation controller
I0520 22:43:31.104004 640679 kapi.go:75] Waiting for pod with label "app.kubernetes.io/name=ingress-nginx" in ns "ingress-nginx" ...
I0520 22:43:31.116662 640679 kapi.go:86] Found 1 Pods for label selector app.kubernetes.io/name=ingress-nginx
I0520 22:43:31.116681 640679 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0520 22:43:31.620476 640679 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0520 22:43:32.119752 640679 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
...
Same issue happened for me , any suggestion to fix it ?
In my case, apache o ubunto was using port 80
sudo /etc/init.d/apache2 stop
solved it
+1, i'm also seeing this issue. Will do more debugging.
Output of -v=5
:
$ minikube addons enable ingress -v=5 --alsologtostderr
I0609 13:44:53.407702 50376 out.go:291] Setting OutFile to fd 1 ...
I0609 13:44:53.407987 50376 out.go:343] isatty.IsTerminal(1) = true
I0609 13:44:53.408001 50376 out.go:304] Setting ErrFile to fd 2...
I0609 13:44:53.408006 50376 out.go:343] isatty.IsTerminal(2) = true
I0609 13:44:53.408104 50376 root.go:316] Updating PATH: /Users/adam/.minikube/bin
I0609 13:44:53.408614 50376 addons.go:55] Setting ingress=true in profile "minikube-dev-adam-Adams-Mac-mini.local"
I0609 13:44:53.408631 50376 addons.go:131] Setting addon ingress=true in "minikube-dev-adam-Adams-Mac-mini.local"
W0609 13:44:53.408638 50376 addons.go:140] addon ingress should already be in state true
I0609 13:44:53.408658 50376 host.go:66] Checking if "minikube-dev-adam-Adams-Mac-mini.local" exists ...
I0609 13:44:53.408998 50376 main.go:128] libmachine: Found binary path at /Users/adam/.minikube/bin/docker-machine-driver-hyperkit
I0609 13:44:53.409056 50376 main.go:128] libmachine: Launching plugin server for driver hyperkit
I0609 13:44:53.423011 50376 main.go:128] libmachine: Plugin server listening at address 127.0.0.1:53568
I0609 13:44:53.424225 50376 main.go:128] libmachine: () Calling .GetVersion
I0609 13:44:53.425188 50376 main.go:128] libmachine: Using API Version 1
I0609 13:44:53.425210 50376 main.go:128] libmachine: () Calling .SetConfigRaw
I0609 13:44:53.425635 50376 main.go:128] libmachine: () Calling .GetMachineName
I0609 13:44:53.426082 50376 main.go:128] libmachine: Found binary path at /Users/adam/.minikube/bin/docker-machine-driver-hyperkit
I0609 13:44:53.426120 50376 main.go:128] libmachine: Launching plugin server for driver hyperkit
I0609 13:44:53.441083 50376 main.go:128] libmachine: Plugin server listening at address 127.0.0.1:53574
I0609 13:44:53.442200 50376 main.go:128] libmachine: () Calling .GetVersion
I0609 13:44:53.443164 50376 main.go:128] libmachine: Using API Version 1
I0609 13:44:53.443189 50376 main.go:128] libmachine: () Calling .SetConfigRaw
I0609 13:44:53.443626 50376 main.go:128] libmachine: () Calling .GetMachineName
I0609 13:44:53.443834 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .GetState
I0609 13:44:53.444029 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) DBG | exe=/Users/adam/.minikube/bin/docker-machine-driver-hyperkit uid=0
I0609 13:44:53.444331 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) DBG | hyperkit pid from json: 7241
I0609 13:44:53.447095 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .DriverName
I0609 13:44:53.473628 50376 out.go:170] ▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
I0609 13:44:53.499238 50376 out.go:170] ▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0609 13:44:53.524354 50376 out.go:170] ▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0609 13:44:53.524794 50376 addons.go:261] installing /etc/kubernetes/addons/ingress-configmap.yaml
I0609 13:44:53.524876 50376 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-configmap.yaml (1865 bytes)
I0609 13:44:53.524959 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .GetSSHHostname
I0609 13:44:53.525330 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .GetSSHPort
I0609 13:44:53.525524 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .GetSSHKeyPath
I0609 13:44:53.525699 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .GetSSHUsername
I0609 13:44:53.525852 50376 sshutil.go:53] new ssh client: &{IP:192.168.64.140 Port:22 SSHKeyPath:/Users/adam/.minikube/machines/minikube-dev-adam-Adams-Mac-mini.local/id_rsa Username:docker}
I0609 13:44:53.580031 50376 addons.go:261] installing /etc/kubernetes/addons/ingress-rbac.yaml
I0609 13:44:53.580075 50376 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-rbac.yaml (6005 bytes)
I0609 13:44:53.595222 50376 addons.go:261] installing /etc/kubernetes/addons/ingress-dp.yaml
I0609 13:44:53.595251 50376 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-dp.yaml (9394 bytes)
I0609 13:44:53.618277 50376 ssh_runner.go:149] Run: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.20.2/kubectl apply -f /etc/kubernetes/addons/ingress-configmap.yaml -f /etc/kubernetes/addons/ingress-rbac.yaml -f /etc/kubernetes/addons/ingress-dp.yaml
I0609 13:44:53.876058 50376 main.go:128] libmachine: Making call to close driver server
I0609 13:44:53.876083 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .Close
I0609 13:44:53.876304 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) DBG | Closing plugin on server side
I0609 13:44:53.876336 50376 main.go:128] libmachine: Successfully made call to close driver server
I0609 13:44:53.876356 50376 main.go:128] libmachine: Making call to close connection to plugin binary
I0609 13:44:53.876368 50376 main.go:128] libmachine: Making call to close driver server
I0609 13:44:53.876385 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) Calling .Close
I0609 13:44:53.876558 50376 main.go:128] libmachine: (minikube-dev-adam-Adams-Mac-mini.local) DBG | Closing plugin on server side
I0609 13:44:53.876634 50376 main.go:128] libmachine: Successfully made call to close driver server
I0609 13:44:53.876648 50376 main.go:128] libmachine: Making call to close connection to plugin binary
I0609 13:44:53.876666 50376 addons.go:299] Verifying addon ingress=true in "minikube-dev-adam-Adams-Mac-mini.local"
I0609 13:44:53.902697 50376 out.go:170] 🔎 Verifying ingress addon...
🔎 Verifying ingress addon...
I0609 13:44:53.909612 50376 kapi.go:59] client config for minikube-dev-adam-Adams-Mac-mini.local: &rest.Config{Host:"https://192.168.64.140:6443", APIPath:"", ContentConfig:rest.ContentConfig{AcceptContentTypes:"", ContentType:"", GroupVersion:(*schema.GroupVersion)(nil), NegotiatedSerializer:runtime.NegotiatedSerializer(nil)}, Username:"", Password:"", BearerToken:"", BearerTokenFile:"", Impersonate:rest.ImpersonationConfig{UserName:"", Groups:[]string(nil), Extra:map[string][]string(nil)}, AuthProvider:<nil>, AuthConfigPersister:rest.AuthProviderConfigPersister(nil), ExecProvider:<nil>, TLSClientConfig:rest.sanitizedTLSClientConfig{Insecure:false, ServerName:"", CertFile:"/Users/adam/.minikube/profiles/minikube-dev-adam-Adams-Mac-mini.local/client.crt", KeyFile:"/Users/adam/.minikube/profiles/minikube-dev-adam-Adams-Mac-mini.local/client.key", CAFile:"/Users/adam/.minikube/ca.crt", CertData:[]uint8(nil), KeyData:[]uint8(nil), CAData:[]uint8(nil), NextProtos:[]string(nil)}, UserAgent:"", DisableCompression:false, Transport:http.RoundTripper(nil), WrapTransport:(transport.WrapperFunc)(0x229a3c0), QPS:0, Burst:0, RateLimiter:flowcontrol.RateLimiter(nil), WarningHandler:rest.WarningHandler(nil), Timeout:0, Dial:(func(context.Context, string, string) (net.Conn, error))(nil), Proxy:(func(*http.Request) (*url.URL, error))(nil)}
I0609 13:44:53.910808 50376 cert_rotation.go:137] Starting client certificate rotation controller
I0609 13:44:53.913638 50376 kapi.go:75] Waiting for pod with label "app.kubernetes.io/name=ingress-nginx" in ns "ingress-nginx" ...
I0609 13:44:53.932166 50376 kapi.go:86] Found 3 Pods for label selector app.kubernetes.io/name=ingress-nginx
I0609 13:44:53.932219 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:54.437704 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:54.941440 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:55.439702 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:55.940979 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:56.439771 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:56.945570 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:57.438554 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:57.940722 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:58.436692 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:58.938086 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0609 13:44:59.439583 50376 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
@adamf Can you do a fresh setup and send the logs?
$ minikube delete --purge --all
$ minikube start --addons=ingress --alsologtostderr
I'm having trouble recreating the issue. Also add any driver settings and make sure to paste them here.
Ok after playing with this some more it seems the error occurs after upgrading from one minikube version to the next. We should probably find a way to resolve this in general, but as a simple workaround, the solution is to just delete the cluster and recreate it with minikube delete. Not ideal, but it'll at least get minikube working again.
yep, minikube delete
fixed this problem, and I did indeed just upgrade from an older minikube. Thanks!
@andriyDev Thank you. minikube delete
and restart along with the addons
flag worked for me.
Still getting this error on Manjaro GNOME running on Linux kernel 5.10.42-1. I am using Minikube version 1.20.0 using the Docker driver.
I0628 13:51:57.615509 60989 system_pods.go:59] 5 kube-system pods found
I0628 13:51:57.615572 60989 system_pods.go:61] "etcd-minikube" [ccc18170-3815-4fc6-adf3-246e6165e3e4] Pending
I0628 13:51:57.615588 60989 system_pods.go:61] "kube-apiserver-minikube" [7eb10ec0-548d-408d-9555-4a7d3ea18542] Pending
I0628 13:51:57.615605 60989 system_pods.go:61] "kube-controller-manager-minikube" [dc8fba93-7714-4873-8bfa-6e355baa1426] Pending
I0628 13:51:57.615619 60989 system_pods.go:61] "kube-scheduler-minikube" [9a4cb2ef-72e5-4542-8770-e4922301d9fd] Pending
I0628 13:51:57.615639 60989 system_pods.go:61] "storage-provisioner" [8267d251-2ff7-435d-9bb3-5b1b6cb70c22] Pending: PodScheduled:Unschedulable (0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn't tolerate.)
...
I0628 13:52:53.386548 60989 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0628 13:52:53.885853 60989 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
I0628 13:52:54.388262 60989 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [<nil>]
...
I've tried purging minikube and using the addons flag. Going to try an update and another purge.
I fixed my problem. The issue was some control plane pods were failing, namely the kube proxy and storage provisioner. Many Manjaro users are experiencing issues where the kube proxy's configmap had required values set to null.
I0701 12:17:29.188100 1 conntrack.go:100] Set sysctl 'net/netfilter/nf_conntrack_max' to 196608
F0701 12:17:29.188129 1 server.go:495] open /proc/sys/net/netfilter/nf_conntrack_max: permission denied
Open the configmap: $ kubectl -n kube-system edit configmap kube-proxy
Inspect it for any errors. Setting maxPerCore to 0 and min to null resolved the issue in my case.
I hope this helps somebody!
Log file created at: 2021/07/14 10:16:08
Running on machine: Jackey
Binary: Built with gc go1.16.4 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0714 10:16:08.711874 417072 out.go:286] Setting OutFile to fd 1 ...
I0714 10:16:08.711981 417072 out.go:333] TERM=xterm,COLORTERM=, which probably does not support color
I0714 10:16:08.711983 417072 out.go:299] Setting ErrFile to fd 2...
I0714 10:16:08.711985 417072 out.go:333] TERM=xterm,COLORTERM=, which probably does not support color
I0714 10:16:08.712116 417072 root.go:312] Updating PATH: /home/jackey/.minikube/bin
W0714 10:16:08.712231 417072 root.go:291] Error reading config file at /home/jackey/.minikube/config/config.json: open /home/jackey/.minikube/config/config.json: no such file or directory
I0714 10:16:08.712609 417072 addons.go:59] Setting ingress=true in profile "minikube"
I0714 10:16:08.712620 417072 addons.go:135] Setting addon ingress=true in "minikube"
I0714 10:16:08.712938 417072 host.go:66] Checking if "minikube" exists ...
I0714 10:16:08.713575 417072 cli_runner.go:115] Run: docker container inspect minikube --format={{.State.Status}}
I0714 10:16:08.770254 417072 out.go:165] - Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
I0714 10:16:08.771062 417072 out.go:165] - Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0714 10:16:08.771936 417072 out.go:165] - Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
I0714 10:16:08.772054 417072 addons.go:275] installing /etc/kubernetes/addons/ingress-configmap.yaml
I0714 10:16:08.772073 417072 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-configmap.yaml (1865 bytes)
I0714 10:16:08.772235 417072 cli_runner.go:115] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0714 10:16:08.826148 417072 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:32787 SSHKeyPath:/home/jackey/.minikube/machines/minikube/id_rsa Username:docker}
I0714 10:16:08.944498 417072 addons.go:275] installing /etc/kubernetes/addons/ingress-rbac.yaml
I0714 10:16:08.944528 417072 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-rbac.yaml (6005 bytes)
I0714 10:16:08.967492 417072 addons.go:275] installing /etc/kubernetes/addons/ingress-dp.yaml
I0714 10:16:08.967508 417072 ssh_runner.go:316] scp memory --> /etc/kubernetes/addons/ingress-dp.yaml (9394 bytes)
I0714 10:16:08.983924 417072 ssh_runner.go:149] Run: sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.21.2/kubectl apply -f /etc/kubernetes/addons/ingress-configmap.yaml -f /etc/kubernetes/addons/ingress-rbac.yaml -f /etc/kubernetes/addons/ingress-dp.yaml
I0714 10:16:09.633222 417072 addons.go:313] Verifying addon ingress=true in "minikube"
I0714 10:16:09.634140 417072 out.go:165] * Verifying ingress addon...
I0714 10:16:09.637464 417072 kapi.go:75] Waiting for pod with label "app.kubernetes.io/name=ingress-nginx" in ns "ingress-nginx" ...
I0714 10:16:09.660033 417072 kapi.go:86] Found 3 Pods for label selector app.kubernetes.io/name=ingress-nginx
I0714 10:16:09.660058 417072 kapi.go:96] waiting for pod "app.kubernetes.io/name=ingress-nginx", current state: Pending: [
Steps to reproduce the issue:
minikube start --vm-driver hyperv --cpus 2 --memory=8192
minikube addons enable ingress --alsologtostderr
Full output of failed command:
Windows 10 Docker version 20.10.2, build 2291f61 minikube version: v1.17.1 commit: 043bdca07e54ab6e4fc0457e3064048f34133d7e