-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance degradation when upgrading from 0.21.0 to 0.23.0 #3951
Comments
Can you test the image without any customization of the template? |
when I wrote that I updated the nginx.tmpl, I meant that I updated it to match v0.23.0 as there were some noticeable changes there. |
I downgraded to v0.22.0 and things got back to normal, so this indicated that the impact on performance was introduced in v0.23.0. |
@eranreshef please add the flag |
Sorry for not responding, the issue was resolved a couple of days ago. |
I'm re-opening this because I missed an important step in the resolution process I described above. |
Please add the flag -v=2 in the ingress controller deployment to see the change in the configuration file that triggers the reload. The log should show a diff with the changes |
by now all of my enviornments have been successfully upgraded, I'll see if I can somehow reproduce it (might take a while). In the meantime I can share that these log lines were the ones that kept appearing in the info log:
|
With --v=2 you could see the details. |
Also, if you have access to the cluster your local machine and can use port-forward, you can use this approach to the flag --v=2 and not disrupt production traffic. In a terminal execute
|
That includes also my production environment |
Hi It looks like fallback to default ssl certificate triggers a backend reload. This did not happen with version < 0.22. Is this a bug or expected behavior going forward? We do have a wildcard default certificate, and just relying on fallback to the default certificate has worked well until now.
from the logs
Or is this just a notice information, actually provided because of the triggered backend reload, not causing it. |
Closing. Please update to 0.25.0 and reopen if the issue persist. |
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:
uname -a
): 4.19.23-coreos-r1What 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.
The text was updated successfully, but these errors were encountered: