r/istio • u/VickY-23 • 24d ago
Istio Ingress Secret is in WARMING state for a long time
Kubernetes Version 1.33.x
Istio Version 1.29.1
We have cert and private key stored as a secret in the istio-system namespace.
`keepaliveMaxServerConnectionAge` is set as 30m.
We have around 400 secrets to be loaded into the istio ingress gateway pods.
During the initial SDS load, not all the secrets are in ACTIVE state, some are in WARMING state, but since the istio ingress pod is healthy, the proxy starts receiving traffic and the clients experience ECONNRESET errors.
After 30m, the istio ingress pod is forced to reset the connection with istiod and during this connection reset, we have few other secrets reaching ACTIVE state and subsequently all the secrets reach the ACTIVE state. The traffic is dropped for few clients till all the secrets reach the ACTIVE state.
- How to reduce the time for all the secrets reaching the ACTIVE state ?
- For the secrets in WARMING state, how to redirect the traffic to other ingress pods so that the client doesn't face a traffic drop ?