Nginx-ingress-controller pod on ingress-nginx fails to start when deploying mosip-infra 1.1.5.5 on aws

When trying to deploy mosip using the repository “mosip-infra” on branch 1.1.5.5 ansible fails with an error

" [debug] Deployment is not ready: ingress-nginx/nginx-ingress-controller. 0 out of 1 expected pods are ready", “wait.go:225: [debug] Deployment is not ready: ingress-nginx/nginx-ingress-controller. 0 out of 1 expected pods are ready”, “Error: timed out waiting for the condition”

when investigating the status of the pods on mzmaster I can see that nginx-ingress-controller is pending. Events for that pod shows that " 0/10 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn’t tolerate, 9 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn’t tolerate." Any help on how to proceed is appreciated.

It might have something to do with flannel, not really sure.

(this is for TASK [helm : Install chart ingress-nginx] )

Changed CNI provider to Calico and it works.

1 Like