- Network bandwidth rate
- Network latency
- Packet loss rate
- iproute2
- sch_netem kernel module
Assuming you have already created your cluster with KIND https://kind.sigs.k8s.io/docs/user/quick-start/
and you want to emulate a network rate limited to 120mbps, with 10 ms of latency and 10% of packet loss
./netem.sh -r=120mbps -d=10ms -l=10
CLUSTER =
RATE = 120mbps
DELAY = 10ms
LOSS = 10
Cluster network configured correctly
if you want to remove all the network constraints, just reset the status:
./netem.sh --reset
See https://youtu.be/-18U84TS75o?t=641 and https://github.com/aojea/kind-networking-plugins/blob/main/multicluster/README.md