I'm a bit hesitant to propose this but how about supporting oneshot jobs in helmfile?
An oneshot job can be either a K8S job or a pod created via helm upgrade --install to accomplish a job like db migration, enqueueing a large job to a kind of workflow system, etc.
As of today, we have to resort a variant of kubectl run --image $img to run an oneshot job, even in a situation that our regular app are managed by helm and shared the image, envvars with oneshot jobs.
AFAIK, there's no such tool to support this use-case. And supporting it in helmfile allows us to provide a more docker-compose-like U/X to helm users, but the docker-build feature.
Thoughts?
cc/ @roboll @sstarcher
I'm a bit hesitant to propose this but how about supporting oneshot jobs in helmfile?
An oneshot job can be either a K8S job or a pod created via
helm upgrade --installto accomplish a job like db migration, enqueueing a large job to a kind of workflow system, etc.As of today, we have to resort a variant of
kubectl run --image $imgto run an oneshot job, even in a situation that our regular app are managed by helm and shared the image, envvars with oneshot jobs.AFAIK, there's no such tool to support this use-case. And supporting it in helmfile allows us to provide a more docker-compose-like U/X to helm users, but the docker-build feature.
Thoughts?
cc/ @roboll @sstarcher