The standard workload for computing the energy efficiency of a Kubernetes node.
Based on the NAS Parallel Benchmarks.
Run this workload on a Kubernetes node and measure the energy efficiency.
To improve measurement accuracy, the node should not be running any other workloads.
helm repo add standard-workload-repo https://glaciation-heu.github.io/standard-workload/helm-charts/
helm repo update
helm search repo standard-workload
helm install standard-workload standard-workload-repo/standard-workload
- Install Minikube.
- Start Minikube:
minikube start --cpus 4 --memory 8192
- Build a docker image:
docker build . -t standard-workload:latest
- Upload the docker image to minikube:
minikube image load standard-workload:latest
- Deploy the job:
helm install standard-workload ./charts/standard-workload --version 0.1.0 --set image.repository=standard-workload --set image.tag=latest
- Delete the job:
helm delete standard-workload
To create a release, add a tag in GIT with the format a.a.a, where 'a' is an integer.
git tag 0.1.0
git push origin 0.1.0
The release version for branches, pull requests, and other tags will be generated based on the last tag of the form a.a.a.
The Helm chart version changed automatically when a new release is created. The version of the Helm chart is equal to the version of the release.
GitHub Actions triggers testing and builds for each release.
Initial setup
Create the branch gh-pages and use it as a GitHub page.
After execution
- The index.yaml file containing the list of Helm Charts will be available at
https://glaciation-heu.github.io/standard-workload/helm-charts/index.yaml
. - The Docker image will be available at
https://github.com/glaciation-heu/standard-workload/pkgs/container/standard-workload
.
HIRO uses and requires from its partners GitFlow with Forks