ingress-nginx: Performance degradation when upgrading from 0.21.0 to 0.23.0

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report NGINX Ingress controller version: 0.23.0

Kubernetes version (use kubectl version): 1.11.7

Environment:

  • Cloud provider or hardware configuration: AWS
  • OS (e.g. from /etc/os-release): Container Linux by CoreOS 2023.4.0 (Rhyolite)
  • Kernel (e.g. uname -a): 4.19.23-coreos-r1
  • Install tools: ?
  • Others: ?

What happened: After upgrading from v0.21.0 to v0.23.0, I noticed an impact on performance both in memory and CPU.

What you expected to happen: I expected performance to remain more or less the same or become better.

How to reproduce it (as minimally and precisely as possible): I just upgraded the image in my k8s manifest and update the nginx.tmpl

Anything else we need to know: I attached an image of my nginx grafana dashboard, its easy to see when the upgrade happened. image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Sorry for not responding, the issue was resolved a couple of days ago. The problem was that we had 2 ingresses that use dynamic certificates and were not configured correctly. This caused the nginx-ingress pods to constantly reload the config, but no warning or error was printed to the log. Another important issue is that these object were also miss-configured in 0.21.0 and 0.22.0 but there was no constant reloading there.