Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```