kube-burner / kube-burner-ocp

OpenShift integrations and workloads for kube-burner
https://kube-burner.github.io/kube-burner-ocp/
Apache License 2.0
4 stars 18 forks source link

Byowl #26

Closed shashank-boyapally closed 6 months ago

shashank-boyapally commented 7 months ago

Type of change

Description

Bring Your Own Custom Workload focuses on the user to customize his own workload similar to what kube-burner could perform, the command to invoke BYOWL is as following. I have checked using cluster-density-v2 config files. The reason to not include flags to set env vars is there were conflicting default values, if flags were allowed.

sboyapal cdv2-check >> kube-burner-ocp init -c config.yml
time="2024-03-04 14:25:22" level=info msg="Checking for status of rosa job/osd-cluster-ready in namespace openshift-monitoring" file="cluster_health.go:88"
time="2024-03-04 14:25:22" level=info msg="Config file config.yml available in the current directory, using it" file="helpers.go:96"
time="2024-03-04 14:25:22" level=info msg="🔥 Starting kube-burner (byowl@4b34c43c2f8ea851f17517be61d99289db4cd60c) with UUID 4027eb22-2b2f-4c08-b4b9-b682c50d78cb" file="job.go:97"
time="2024-03-04 14:25:22" level=info msg="📈 Registered measurement: podLatency" file="factory.go:79"
...
...
...
time="2024-03-04 15:26:31" level=info msg="cdv2: Initialized 50th: 0 99th: 1000 max: 1000 avg: 23" file="pod_latency.go:242"
time="2024-03-04 15:26:31" level=info msg="cdv2: Ready 50th: 3000 99th: 12000 max: 13000 avg: 5833" file="pod_latency.go:242"
time="2024-03-04 15:26:31" level=info msg="cdv2: PodScheduled 50th: 0 99th: 500 max: 1000 avg: 14" file="pod_latency.go:242"
time="2024-03-04 15:26:31" level=info msg="cdv2: ContainersReady 50th: 3000 99th: 12000 max: 13000 avg: 5833" file="pod_latency.go:242"
time="2024-03-04 15:26:31" level=info msg="Finished execution with UUID: 4027eb22-2b2f-4c08-b4b9-b682c50d78cb" file="job.go:265"
time="2024-03-04 15:26:31" level=info msg="Garbage collecting jobs" file="job.go:278"
time="2024-03-04 15:26:31" level=info msg="Deleting 1 namespaces with label: kube-burner-job=cdv2" file="namespaces.go:67"
time="2024-03-04 15:27:18" level=info msg="👋 Exiting kube-burner 4027eb22-2b2f-4c08-b4b9-b682c50d78cb" file="helpers.go:191"

Related Tickets & Documents

Checklist before requesting a review

shashank-boyapally commented 7 months ago

Sorry, Will add test case!!

vishnuchalla commented 7 months ago

Since most part of this code seems like a stub to encourage users to bring their own models, can you add some instructions in our docs for their understanding?