Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jz543fm/stress-k8s
- Owner: jz543fm
- Created: 2023-12-03T06:11:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-13T08:47:09.000Z (10 months ago)
- Last Synced: 2024-04-13T22:09:32.683Z (10 months ago)
- Topics: docker, k8s, kubernetes, makefile, stress, stress-testing, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```