Ingress controller deployment is down , cannot bring up
search cancel

Ingress controller deployment is down , cannot bring up

book

Article ID: 397767

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

Ingress controller deployment is down , cannot bring up 

Resolution

After the TKGi upgrade to 1.20, customer see these errors in one of their clusters

7m1s        Warning   FailedCreate        replicaset/ingress-nginx-controller-xxxxxxxxxx    (combined from similar events): Error creating: pods "ingress-nginx-controller-xxxxxxxx" is forbidden: [minimum cpu usage per Container is 100m, but request is 30m, minimum memory usage per Container is 90Mi, but request is 30M

Changing the minimums to 30m for CPU and 30Mi for memory then rollout restart of ingress-nginx deployment resolved the issue, and the pods came up after few minutes.



kubectl edit limitrange ingress-nginx -n ingress-nginx

kubectl rollout restart of ingress-nginx -n ingress-nginx