Run S2I build as a remote job on kubernetes

116 Views Asked by At

I have an image-build I want to run using S2I. I know I can run it locally using s2i build .... If I wanted to run the same build remotely in K8s, I could create a job image containing the S2I CLI and call s2i build in that image, but this seems redundant. As I understand it, the build is a docker process running in the base image, so I was wondering if there is a way to avoid creating the job image and just have the build run remotely as a Kubernetes job. Sorry if this question is naive.

0

There are 0 best solutions below