Set up Ingress on Minikube with the NGINX Ingress Controller

33 views
Skip to first unread message

Haya El Sarraf

unread,
Mar 18, 2024, 11:20:53 AM3/18/24
to minikube-dev
hello, I setup k8s and i am following these steps mentioned on this link https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/ however i am getting this error "Error from server (InternalError): error when creating "ingress.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://nginx-ingress-ingress-nginx-controller-admission.default.svc:443/networking/v1/ingresses? timeout=10s": service "nginx-ingress-ingress-nginx-controller-admission" not found "
   when trying to execute this command Create the Ingress object by running the following command: I need a guide please to help how to solve it 

kubectl get pods -n ingress-nginx


NAME                                        READY   STATUS      RESTARTS       AGE

ingress-nginx-admission-create-cnk4p        0/1     Completed   0              4d21h

ingress-nginx-admission-patch-sjhvx         0/1     Completed   1              4d21h

ingress-nginx-controller-7c6974c4d8-tfvxl   1/1     Running     10 (81m ago)   4d18h


these are the results obtained the service is exposed on the deployment correctly and i tested it with the url however i have an issue when applying ingress.yaml file 

Reply all
Reply to author
Forward
0 new messages