Rainbow Deploys with Kubernetes

or: how you can deploy services to Kubernetes that require long periods of draining. 🌈 🌈 🌈 If you want to jump directly to the technical solution, check out the project repo. Below is a short story about how we got to this solution. 🌈 🌈 🌈 In an ideal cloud native world, your services will be stateless so deploys and restarts aren’t disruptive. Unfortunately in the real world, sometimes you have stateful services and can’t realistically turn them stateless.