Nicolas Vibert’s Post

View profile for Nicolas Vibert

Senior Staff Technical Marketing Engineer, Isovalent at Cisco | Chief DEI Officer at OpenUK | Blogger | Book Author | Network | Cloud | Kubernetes

The upcoming Cilium 1.13 release comes fully integrated with a HTTP traffic splitting engine 🎉 In order to introduce a new version of an app, operators would often start pushing some traffic to a new backend and see how users react and how the app fares under load. It's also known as A/B testing, blue-green deployments or canary releases. You can now do it natively, with Cilium Gateway API weights. No need to install another tool or service mesh. In the video below, I deploy a couple of Kubernetes Services - echo-1 and echo-2 - and by default my Gateway API HTTPRoute config will evenly balance the traffic between the two (based on the 50/50 weights). Note the echo servers reply with their hostname so we know who's responding. Once we save the responses in a file and count the replies, we can see the responses are evenly balanced. Once I edit the weights to 99 for echo-1 and 1 for echo-2, almost all traffic is forwarded to the echo-1 service (out of 1117 requests, 1109 are sent to echo-1). This feature is now available in the most recent 1.13 release candidate: try it out and share some feedback!

Eddie Wassef

Cloud Migration & Modernization Specialist | CNCF Contributor & Platform Engineering Enthusiast

1y

Thanks for posting. Do you have a link to this documentation?

Like
Reply

That saves a lot of time doing the same with service mesh tools ..

See more comments

To view or add a comment, sign in

Explore topics