caktus / ansible-role-django-k8s

Ansible role with sane defaults to deploy a Django app to Kubernetes.
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Use Recreate update strategy for any deployments with persistent volumes #3

Open tobiasmcnulty opened 4 years ago

tobiasmcnulty commented 4 years ago

At least Redis and Celery Beat should use a deployment update strategy of Recreate to avoid trying to spin up new containers before the old ones have been torn down.

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment

tobiasmcnulty commented 4 years ago

This could be addressed by the StatefulSet change as well; CC @copelco.