Tomas Kral

Results 315 comments of Tomas Kral

Interesting idea. I haven't played with Kubernetes jobs yet. How would Job map to docker-compose?

Lets keep this open. We can maybe do something with Jobs in the future.

> If we start using a docker-compose semantic to do something in k8s that is not a one to one match, it will get confusing really quickly. +1

> So for creating jobs we can use docker-compose's restart for this, it's just we define some constraints like > > default value of restart is always: where we create...

There is also another thing that we should be aware. We are assuming different default value for `restart` than docker-compose does. If you don't specify restart docker uses `no` as...

So what I understand from @janetkuo and @surajssd comments there is a proposal to handle restart values like this: docker-compose restart value | object created by kompose | | -----------------------|----------------------|----------------...

small modification to this. Lets start implementing this but when `restart: on-failure` than convert to Pod with restartPolicy= OnFailure

Hi, @dmitris thank you for contributing to kompose. As a first-time contributor, you first need to sign CNCF CLA. You can find more info in https://github.com/kubernetes/kompose/pull/1488#issuecomment-1067263458