https://github.com/raycad/ngrinder-controller
Stress and load testing cluster services
https://github.com/raycad/ngrinder-controller
Last synced: 3 months ago
JSON representation
Stress and load testing cluster services
- Host: GitHub
- URL: https://github.com/raycad/ngrinder-controller
- Owner: raycad
- Created: 2019-02-06T00:10:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T05:28:33.000Z (over 6 years ago)
- Last Synced: 2025-03-16T06:16:18.045Z (10 months ago)
- Language: Dockerfile
- Size: 66 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NGrinder Controller
### A. Create Docker Image
##### 1. Login to Docker Hub
```
$ docker login --username=yourhubusername --password=yourpassword
```
##### 2. Build docker image
```
$ ./build_image.sh
```
##### 3. Push the image to the docker hub
```
$ sudo docker push $DOCKER_ACC/$DOCKER_REPO:$IMG_TAG
e.g
$ sudo docker push seedotech/ngrinder-controller:3.4.3
```
### B. Pull and Start NGrinder Controller
##### 1. Pull the NGrinder Controller image
```
$ sudo docker pull seedotech/ngrinder-controller:3.4.3
```
##### 2. Create a NGrinder network to controller & agent communication in the same physical machine (if needed)
```
$ sudo docker network create --driver=bridge ngrinder
```
##### 3. Create and run docker container
```sh
# NGRINDER Controller ports
# 8080: Default controller web UI port.
# 16001: Connection between controller & agent
# 12000-12029: controllers allocate stress tests through these ports.
$ sudo docker run -itd \
-p 8080:8080 \
-p 16001:16001 \
-p 12000-12009:12000-12009 \
--name ngrinder-controller \
--hostname ngrinder-controller \
seedotech/ngrinder-controller:3.4.3 &> /dev/null
OR
$ ./start_containers.sh
# If you want to use controller & agent in the same physical machine, create as follows:
$ sudo docker run -itd \
--net=ngrinder \
-p 8080:8080 \
-p 16001:16001 \
-p 12000-12009:12000-12009 \
--name ngrinder-controller \
--hostname ngrinder-controller \
seedotech/ngrinder-controller:3.4.3 &> /dev/null
```
##### 4. Get into the ngrinder controller container
```
$ sudo docker exec -it ngrinder-controller bash
```
##### 5. NGrinder dashboard
Access to the http://localhost:8080 to use NGrinder's dashboards.