# Simple alternative for sonobuoy We have a conformance image [here](https://github.com/kubernetes/kubernetes/tree/master/test/conformance/image). This image is used by sonobuoy as well. The tool will launch the already existing image as a job or as a deployment/pod (possibly just mirror what sonobuoy does) with the right set of parameters. Then watches until the e2e tests finish. After that i will need to grab the logs for the end user to look at. ## Requirements Need a self-starter, good grasp of golang and kubernetes ## What we have today - There's a presubmit job called [pull-kubernetes-conformance-image-test](https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/sig-testing/conformance-e2e.yaml#L4) - This uses a script [kind-conformance-image-e2e.sh](https://github.com/kubernetes/test-infra/blob/master/experiment/kind-conformance-image-e2e.sh) that essentially creates a kind cluster to test the image - You can see [conformance-e2e.sh](https://github.com/kubernetes/kubernetes/blob/master/test/conformance/image/conformance-e2e.sh) where we use the [conformance-e2e.yaml](https://github.com/kubernetes/kubernetes/blob/master/test/conformance/image/conformance-e2e.yaml) to run the image and waits for it to be done. - Here's where we [pull logs](https://github.com/kubernetes/test-infra/blob/master/experiment/kind-conformance-image-e2e.sh#L155-L156) from the pod used to run the e2e tests ## Some options to run this image (without shell scripts) - Alex's [run-job](https://github.com/alexellis/run-job/blob/master/main.go) for inspiration - May be try learning Rust [kube-rs](https://github.com/kube-rs/kube-rs/blob/master/examples/job_api.rs) - Just bootstrap using [client-go examples](https://github.com/kubernetes/client-go/tree/master/examples)