Very simple implementation of 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 and update args
and resource - limits/requests
in job.yaml
.
Docker images for the debian:latest
and ubuntu:latest
make build #build docker image
make exec #exec to docker image
make tag #tag docker image
make push #push docker image
Do not forget to update the args and resource & limits! afterwards:
kubectl apply -f job.yaml -n <namespace>