Sample of locust cluster for Google Container Engine using hakober/locust image.
First, you should push image into your private repository.
$ export IMAGE_ID=locust-gke
$ ./script/cluster push
$ export GKE_CLUSTER=<your-cluster>
$ export GKE_ZONE=<your-zone>
$ IMAGE_ID=locust-gke \
GKE_NETWORK=<your-network> ]
TARGET_URL=<your-load-test-target-url> \
LOCUST_SLAVE_COUNT=2 \
./script/cluster start
$ ./script/cluster stop
$ ./script/cluster status
$ ./script/cluster open-kubernetes
$ ./script/cluster open-locust