Bring your own workload enables users to pass their own prepared container image with a set of commands.
Build your CR
apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
name: byowl-benchmark
namespace: my-ripsaw
spec:
workload:
name: byowl
args:
image: "quay.io/me/myawesomebenchmarkimage"
clients: 1
commands: "echo Test"
You can add a node selector, taints/tolerations, and/or runtimeclass to the resulting Kubernetes resources like so:
spec:
workload:
name: byowl
args:
nodeselector:
foo: bar
tolerations:
- key: "taint-to-tolerate"
operator: "Exists"
effect: "NoSchedule"
runtimeclassname: "MyRuntimeClass"
This will launch the uperf container, and simply print the messages above into the log of the container.