Re:Rainbow Deployments with Kubernetes
by bdimcheff on Wednesday February 14, 2018 @03:37PM
(#16379148)
Yeah I think if restartPolicy were changeable at runtime, we could simply have the pods exit once their connections are drained enough. If we were to exit using the current strategy, they'd just be restarted by kube.
Could probably solve this with a readiness probe / health check of sorts that is smart enough to know what low usage means.