Ingress controller deployment is down , cannot bring up
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-nginxkubectl rollout restart of ingress-nginx -n ingress-nginx