postgresqlkuberneteslatencyazure-aks

Simulate network latency between application in AKS and PostgreSQL server in Azure


I need to test a scenario to see how my app deals with latency. My application is in K8S on Azure (AKS) and its connecting to a Postgres DB in Azure. Anyone know of any good tools that aren't too tricky to implement?


Solution

  • I ended up created a haproxy VM and directing my db traffic through it. Then on the haproxy I used the Linux network emulator tool to delay the traffic. It works really well.