{"version":"1.0","type":"rich","title":"https sticky sessions","description":"This example demonstrates HTTP sticky sessions in Kubernetes, where client requests are consistently routed to the same backend pod. It shows the configuration for a frontend HAProxy service load balancer that inserts a `SERVERID` cookie into responses, and a backend service with five replica pods serving hostnames. The code uses Kubernetes YAML manifests for the service and replication controllers, along with HAProxy’s `cookie SERVERID insert indirect nocache` directive. The included shell commands verify sticky behavior by curling the public endpoint with and without the cookie, and then creating an Ingress with TLS.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-728cccf97b3202617ec4589a4f89fd77?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}