Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hakobera/docker-locust-gke
Example of locust cluster for Google Container Engine
https://github.com/hakobera/docker-locust-gke
Last synced: about 1 month ago
JSON representation
Example of locust cluster for Google Container Engine
- Host: GitHub
- URL: https://github.com/hakobera/docker-locust-gke
- Owner: hakobera
- License: mit
- Created: 2015-01-10T04:02:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T04:24:26.000Z (over 9 years ago)
- Last Synced: 2024-04-14T09:15:51.977Z (8 months ago)
- Language: Shell
- Size: 191 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-locust-gke
Sample of locust cluster for Google Container Engine using [hakober/locust](https://github.com/hakobera/docker-locust) image.
## Push image
First, you should push image into your private repository.
```
$ export IMAGE_ID=locust-gke
$ ./script/cluster push
```## Cluster management
## Set common environment value
```
$ export GKE_CLUSTER=
$ export GKE_ZONE=
```### Start cluster
```
$ IMAGE_ID=locust-gke \
GKE_NETWORK= ]
TARGET_URL= \
LOCUST_SLAVE_COUNT=2 \
./script/cluster start
```### Stop cluster
```
$ ./script/cluster stop
```### Show cluster status
```
$ ./script/cluster status
```### Open kubernetes web console
```
$ ./script/cluster open-kubernetes
```### Open locust web console
```
$ ./script/cluster open-locust
```