kubernetes / minikube

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

minikube (1.33.1) not able to pull images of nginx ingress #19405

Open anishagoyal0504 opened 2 months ago

anishagoyal0504 commented 2 months ago

What Happened?

I have minikube cluster and trying to enable nginx ingress using "minikube addons enable ingress" it is failing with timing out error

I am using minikube version 1.33.1

can someone guide me please

Attach the log file

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

Further looking at one of the pods logs:

Failed to pull image "registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.4.1@sha256:36d05b4077fg5453d13663702fa337f124675ba8667cbd949c03a8e8ea6fa4366": Error response from daemon: Get "https://registry.k8s.io/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority

Operating System

Redhat/Fedora

Driver

Docker

kundan2707 commented 2 months ago

/kind support

kundan2707 commented 2 months ago

@anishagoyal0504 check your machine/VM for necessary PEM file to resolve certificate issue.