Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jz543fm/stress-k8s

Stress testing in Kubernetes cluster
https://github.com/jz543fm/stress-k8s

docker k8s kubernetes makefile stress stress-testing ubuntu

Last synced: 3 months ago
JSON representation

Stress testing in Kubernetes cluster

Awesome Lists containing this project

README

        

# Stress testing in Kubernetes

Very simple implementation of [stress](https://github.com/resurrecting-open-source-projects/stress) - tool to impose load on and stress test systems - for Kubernetes, after succesfull stress test the pod will be in status `Completed`.

Actually I am using in Dockerfile `ubuntu:latest`

For the specific optimalization on your cluster and node/s, read the [man](https://linux.die.net/man/1/stress) and update `args` and `resource - limits/requests` in `job.yaml`.

## Docker Hub

Docker images for the `debian:latest` and `ubuntu:latest`

[lostcauze7/debian-stress](https://hub.docker.com/repository/docker/lostcauze7/debian-stress)

[lostcauze7/ubuntu-stress](https://hub.docker.com/repository/docker/lostcauze7/ubuntu-stress)

# Local development:

```bash
make build #build docker image
make exec #exec to docker image
make tag #tag docker image
make push #push docker image
```

# Deploy

Do not forget to update the args and resource & limits! afterwards:

```bash
kubectl apply -f job.yaml -n
```