<p>You need something that will do basically CI/CD. There are few options (in no particular order):</p>

<ul>
<li>Gitlab + autodeploy (or custom deployment)</li>
<li><a href="https://github.com/GoogleContainerTools/skaffold" rel="nofollow noreferrer">skaffold</a> + <a href="https://github.com/kubernetes/git-sync" rel="nofollow noreferrer">git-sync</a> + <a href="https://github.com/GoogleContainerTools/kaniko" rel="nofollow noreferrer">kaniko</a></li>
</ul>

<p>There are more, but basically, you need a component to watch for changes, something that knows how to build an image, and something else that can deploy it (some of these might be done by the same tools)</p>

<p>Helm will only do the deployment, but nothing else</p>

CC BY-SA 4.0
2019-05-24T16:49:10.920Z
2019-05-24T16:49:10.920Z
soandos
<p>I am currently investigating how to manage the containers for our new data-processing pipeline.</p>

<p>What I would like to do is to be able to have whatever tool I choose rebuild the docker images when I have a new version ready in git (without me having to come up with a name for the docker image). I have found that OpenShifts ImageStreams does this but OpenShift feels like an intrusive dependency so I am searching for a well supported way of doing this with a more clean kubernetes install.</p>

<p>I have looked at helm but did not find this feature.</p>

<p>So</p>

<p>What is the most mature and widely supported tool that can build the containers automatically during the deployment to kubernetes?</p>

<kubernetes><automation><builds>
How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream
lijat
# How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream

(Asked by: username_0 on 2019-05-20)

I am currently investigating how to manage the containers for our new data-processing pipeline.

What I would like to do is to be able to have whatever tool I choose rebuild the docker images when I have a new version ready in git (without me having to come up with a name for the docker image). I have found that OpenShifts ImageStreams does this but OpenShift feels like an intrusive dependency so I am searching for a well supported way of doing this with a more clean kubernetes install.

I have looked at helm but did not find this feature.

So

What is the most mature and widely supported tool that can build the containers automatically during the deployment to kubernetes?

**Tags:** kubernetes, automation, builds


---

## 1 answers

### Answer by username_1 on 2019-05-24. Score: 2

You need something that will do basically CI/CD. There are few options (in no particular order):

* Gitlab + autodeploy (or custom deployment)
* [skaffold](https://github.com/GoogleContainerTools/skaffold) + [git-sync](https://github.com/kubernetes/git-sync) + [kaniko](https://github.com/GoogleContainerTools/kaniko)

There are more, but basically, you need a component to watch for changes, something that knows how to build an image, and something else that can deploy it (some of these might be done by the same tools)

Helm will only do the deployment, but nothing else


---

