okteto
okteto copied to clipboard
I want to redeploy my stack without downtime
Describe the bug
If I redeploy my okteto stack
I want to have 0 downtimes but since the deployments created have the recreate update strategy, I can't
To Reproduce Steps to reproduce the behavior:
- Copy the following
docker-compose.yml
services:
app:
image: python:alpine
entrypoint: python -m http.server 8080
ports:
- 8080:8080
- Run okteto deploy
- Change the entrypoint to
python -m http.server 8081
- Run okteto deploy to redeploy
- See that the pod is recreated
Expected behavior I want to have 0 downtime while redeploying a compose/stack
Desktop (please complete the following information):
- Version 2.6.0