okteto icon indicating copy to clipboard operation
okteto copied to clipboard

I want to redeploy my stack without downtime

Open jLopezbarb opened this issue 2 years ago • 0 comments

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:

  1. Copy the following docker-compose.yml
services:
  app:
    image: python:alpine
    entrypoint: python -m http.server 8080
    ports:
      - 8080:8080
  1. Run okteto deploy
  2. Change the entrypoint to python -m http.server 8081
  3. Run okteto deploy to redeploy
  4. 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

jLopezbarb avatar Sep 08 '22 16:09 jLopezbarb