News for hackers. Stuff that matters.
Re:Rainbow Deployments with Kubernetes by _asummers on Wednesday February 14, 2018 @03:20PM (#16379034)
> We still have one unsolved issue with this deployment strategy: how to clean up the old deployments when they’re no longer serving (much) traffic.

Could probably solve this with a readiness probe / health check of sorts that is smart enough to know what low usage means.

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.
Re:Rainbow Deployments with Kubernetes by SEJeff on Wednesday February 14, 2018 @06:02PM (#16380361)
Or a horizontal pod autoscalar that can scale down to 0 replicas perhaps?