Docker
Kubernetes Cluster
sudo sh setup.sh
Because setup.sh modified /etc/hosts file, to register hostname and IP of ingress gateway.
Need to run in repo root.
sh shell/benchmark.sh
# APP VU Duration
sh shell/benchmark.sh nginx 3000 3m
sh uninstall.sh
# Benchmark with nginx server, 3000 VUs, 3m duration.
# All ingress controller has 1 pod. No HPA.
# Pod memory is 2Gi. CPU is 200m, 500m, each.
# Command:
sh shell/benchmark.sh nginx 3000 3m
Istio has high cpu usage.
Nginx has a long tail latency with 400m+ cpu.