As per envoy official doc, TCP traffic shifting is possible with the weighted cluster. I have a case where TCP traffic shifting is needed from clusters A to B only for the new TCP connections. I have a WebSocket connection active in the working environment from client -> envoy-> cluster A. Since I do not want to break the WebSocket connection, can I shift only the new connections to cluster B and keep the traffic routing active to cluster A until all the active connections are drained out?
Envoy TCP traffic shifting only for new connections
131 Views Asked by Brinal At
1
There are 1 best solutions below
Related Questions in REVERSE-PROXY
- Nginx reverse proxy with query parameters not working
- PGAdmin4 configured behind a reverse proxy but unable to connect to Postgresql server
- CDN Detector Extension / Script
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- How to proxy to another port?
- Accessing solr web interface behind reverse proxy returns "Content Encoding Error"
- Modify response in Rust tower Service
- Shopware 6 mixed content error when using reverse proxy
- Apache 2.4 as a Reverse Proxy for RabbitMQ web socket
- apache reverseProxy how to proxypass to multi virtualhosts on same localhost and port?
- Webservices with Authentik forward auth behind Nginx Proxy Manager and CORS
- NextJS app refreshing with Nginx reverse proxy to PM2
- How to add custom apache2/httpd header based on BALANCER_WORKER_ROUTE variable?
- Can I preserve subdomain with Yarp?
- Reverse Proxy Randomly gives 404 Errors
Related Questions in ISTIO
- Implementing Multi-Tenant Access Restriction with Keycloak and Istio
- "make -f ../tools/certs/Makefile.selfsigned.mk cluster1-cacerts" not working on my windows
- Istio Egress Gateway Configuration
- istio gateway: getting Warning [IST0162] but can't finde what is wrong
- How to route requests from a gateway resource in k8s that takes in UDP traffic?
- How to deploy airflow in kubernetes cluster that uses istio
- Expose service on k8 Infrastructure
- ImagePullBackOff with Istio/X when attempting to create a new Istio Ingress Gateway in 2024
- istio request validation succed only after few times of retrial
- Traffic from Google L7 cloud load balancer to istio-gateway
- Curl from App Container failing with Istio
- can anyone advise on how to get the test coverage for istio/proxy?
- Kubeflow ssl: none from centraldashboard to profiles which cause rbac access denied
- Istio Authorization Policy for peer authorization
- Route traffic with consistent hashing on low-load pods with Istio
Related Questions in ENVOYPROXY
- OAuth access token attribute based reverse proxying of http ressources
- Cilium Ingress Controller gRPC Web Stream Kubernetes
- Envoyproxy misses some dynamic upstream clusters properties in config_dump
- Envoy- QUICHE file not found
- Bridging gRPC over TCP to gRPC over UDS
- Returning variable by reference requires holding mutex
- Curl from App Container failing with Istio
- Another: istio/envoy 503 "cluster_not_found" issue
- Envoy Runtime Feature [envoy.reloadable_features.use_http_client_to_fetch_aws_credentials : true ]
- How to use kafka broker filtering at envoy?
- Envoy proxy making more retries than configured
- Envoy to proxy TCP to a TLS desination
- Envoy: Terminate SSL connection on envoy and pass the connection to backend cluster with upstream_proxy_protocol
- envoy path and port rewrite
- grpc-web in react native fails to connect to envoy proxy server
Related Questions in TRAFFICSHAPING
- How to slow down requests to an arbitrary service in container (for testing)
- How to add a traffic-control filter for an egress eBPF programm in the eBPF Compiler Collection (bcc) with pyroute2?
- Envoy TCP traffic shifting only for new connections
- Combining clsact and classful qdiscs together
- Why can't I add tc filters to docker0?
- `tcconfig` throws ValueError when setting/deleting traffic control on docker container
- Accessing same map from cgroup skb ebpf and tc egress ebpf hook
- Router NAT block uploads from subnet
- Ingress/egress confusion in tc
- Under what circumstances does bpf_get_socket_cookie() return 0
- What is the exact relationship between BPF filters in a single chain
- How to specify the custom profile to send packet for Moongen?
- Call traffic control (tc) from within Linux kernel
- Network Output Buffering
- How to throttle data to a given data rate on a TCP Connection
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Received the response from the envoy-dev team and also tested out the scenario. Only the new connections will be routed to the newly added cluster, and existing connections will remain as is. By setting appropriate drain and parent shutdown time (https://www.envoyproxy.io/docs/envoy/latest/operations/cli#cmdoption-parent-shutdown-time-s), one can safely make the WebSocket connection non-disruptible.