-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Describe the bug
I am useing nginx ingress and CDR VirtualServer
I understand default upstream use pod IP not service IP for some reason
when I update upstream'pod, pod IP will change
so will trigger nginx reload
so if I have 100 pod,when rollingUpdate 1 by 1
nginx will reload 100 times
but current reload need consume large memory/cpu
so I add config use-cluster-ip: true
and going to nginx pods check config is right ( /etc/nginx/conf.d/vs_xxxx
), only use service cluster IP
but when rollingUpdate pod 1 by 1
nginx still reload every time when pod change
I hope there should no need reload
To Reproduce
- use VirtualServer with config
use-cluster-ip: true
- trigger pod rollingUpdate (update pod image)
- check nginx log how many
reconfiguring
Expected behavior
no need reload
Your environment
- Version of the Ingress Controller : 3.4.0
- Version of Kubernetes: 1.28
- Kubernetes platform : EKS
- Using NGINX
Additional context
does there have config can set reload behavior ?
like reload frequency,minimum reload interval .... or any can reduce reload frequency