Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 964 Bytes

byowl.md

File metadata and controls

46 lines (36 loc) · 964 Bytes

Bring your own workload (byowl)

Bring your own workload enables users to pass their own prepared container image with a set of commands.

Running byowl

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"

NodeSelector, Taint/Tolerations, and RuntimeClass

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.