Nico Vibert is a Senior Technical Marketing Engineer at Isovalent – the company behind the open-source cloud native solution Cilium. Nico has worked in many different roles – operations and support, design and architecture, technical pre-sales – at companies such as HashiCorp, VMware and Cisco. Nico’s focus is primarily on network, cloud and automation and he loves creating content and writing books. Nico regularly speaks at events, whether on a large scale such as VMworld, Cisco Live or at smaller forums such as VMware and AWS User Groups or virtual events such as HashiCorp HashiTalks. Outside of Isovalent, Nico’s passionate about intentional diversity & inclusion initiatives and is Chief DEI Officer at the Open Technology organization OpenUK.
Cilium Traffic Splitting – Mini Demo
Cilium 1.13 comes with a fully integrated with a HTTP traffic splitting engine!
In this quick demo, we’ve got two services deployed, accessible through the Gateway API. The services are echo-1 and echo-2. In the Gateway API configuration, what we’ve got is two weights of 50 for echo-1 and echo-2. When I perform a curl to the echo service, what we see that we get a response with the name of the server that we’ve reached. By iterating and saving the responses, we can filter and see how many requests go to echo-1 and how many go to echo-2. We see that it’s pretty much even – why? Because of the 50-50 weights between the two services. If we edit the weights to force 99% of the traffic to go towards echo-1 and only 1% to equal towards echo-2, we can run the same tests again. We can see that the traffic, as we expect, the traffic will mainly go to echo-1. That’s it. Thank you.