How to set Envoy --drain-time-s
more than 1h
#50477
-
Istio sets the maximum duration to 1 hour, but I want to set it to 100 hours. istio/pkg/config/validation/validation.go Line 71 in c5463a0 I would like to know how to bypass the validation and set the duration to |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
What is the use case you are trying to solve? |
Beta Was this translation helpful? Give feedback.
-
AFAIK, there is no draining for TCP proxy (if you are using Envoy TCP proxy). And how do you expect it to work if you increase it to 100h - would n't 1 hour draining not sufficient if at all the draining works for other protocols like http/redis? |
Beta Was this translation helpful? Give feedback.
-
if RTMP is configured as TCP in Envoy, TCP does not have a draining behaviour. so it just waits for 100h blindly. Is that what you are looking for? I think there is no specific reason to apply that 1h limit in Istio. We can relax if that helps? |
Beta Was this translation helpful? Give feedback.
#50508