Replies: 2 comments
-
Thanks for reaching out, @qupfer! Regarding "no downtime": no, that is not possible with Podman. Podman does not support replicas since that would require more than one machine/node. Podman's sole focus is on single-node use cases. Everything that goes beyond that is Kubernetes' territory. Regarding "short downtime": I recommend having a look at podman-auto-update. |
Beta Was this translation helpful? Give feedback.
-
@qupfer "without downtime" could mean different things. Disclaimer: I'm still learning how this all works, but this my current understanding of the topic. If these statements are all true
then the client would not notice a restart of myserver, because the listening socket FD, the accepted socket FD and the application state FD could be passed via Please correct me if I've misunderstood anything. It would be cool to see if this could be made to work! A side-note: I wrote a demo mariadb-podman-socket-activation where Podman starts a MariaDB container with socket activation. The demo does not make use of |
Beta Was this translation helpful? Give feedback.
-
Hi, is there a "default" way to update container without (or very short downtime)?
Of cause, the easy way to upgrade is pull;stop;rm;up.
For docker-compose. there seems a ways with repicas.
1 pull
2 set repicas (--scale) to 2
3 start with --no-recreate
4 remove old
5 set scale to 1 again
Is this or something similar possible with podman?
Beta Was this translation helpful? Give feedback.
All reactions