kubernetes / kompose

Convert Compose to Kubernetes
http://kompose.io
Apache License 2.0
9.5k stars 749 forks source link

Add support for enforce Recreate deployment strategy #1902

Open jancespivo opened 3 months ago

jancespivo commented 3 months ago

What would you like to be added?

Add possibility to set Recreate deployment strategy even there is no Volume set. I believe compose without deploy:update_config has meaning there is no rolling update but rather recreate strategy (docker swarm default behavior).

Why is this needed?

I don't think https://github.com/kubernetes/kompose/issues/264#issuecomment-258667438 statement is right. Sometimes application expects it is run only in one instance. For example when consumes ordered stream from messaging and want to keep results in the same order. In this case it is needed to have set 1 replica and Recreate deployment strategy.

k8s-triage-robot commented 1 day ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

jancespivo commented 1 day ago

/remove-lifecycle stale