Closed himanshujaindev closed 7 months ago
this seems expected, you are configuring the filter twice. you should only configure it once. You can use label selector on the envoy filter to gracefully move over and have only one config at a time
@howardjohn - We notice 1-2 seconds of downtime during this transition. How can we avoid that? When we attach a label selector to point to a dummy app, and simultaneously, apply pod annotation, downtime is observed.
kind: EnvoyFilter
metadata:
name: proxy-protocol
namespace: istio-system
spec:
workloadSelector:
labels:
istio: ingressgateway-unused
have 2 deployments one with the annotation and one with the label. don't change running pods
@howardjohn - If we want to use the EnvoyFilter post 1.20 version as well, will that be an issue?
Why would you want to use the Envoyfilter?
either way, you need exactly 1 config per pod
Due to downtime seen during the transition of Envoyfilter to pod annotation, we cannot move to pod annotation.
We have tried canary deployment, and with this method also we see downtime. https://github.com/istio/istio/issues/46052
Can you post the steps you followed? It does not need to be complex.
use-envoyfilter-proxy-protocol: true
or somethinguse-envoyfilter-proxy-protocol: true
. This will be zero downtime@howardjohn - The steps mentioned do not cause downtime. Thank you.
Is this the right place to submit this?
Bug Description
To avoid downtime, we need to first move to pod annotation and then behind the scenes delete the envoyfilter.
When both are used at the same time, the below error is seen in ingressgateway pod (when debug logs are enabled)
Reference: https://istio.io/latest/docs/ops/common-problems/upgrade-issues/#use-gateway-topology-to-enable-proxy-protocol-on-the-ingress-gateways
Version
Additional Information
No response