Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

support scale down #256

Open
jstrachan opened this issue Mar 30, 2016 · 0 comments
Open

support scale down #256

jstrachan opened this issue Mar 30, 2016 · 0 comments

Comments

@jstrachan
Copy link
Contributor

if we scale down the brokers, we should be able to use kubernetes lifecycle hooks - the preStop hook to ensure the pod that is being scaled down has all its destinations moved to another broker and has all its destinations drained before it lets kubernetes kill the pod.

So mostly the preStop hook needs to:

  • mark the pod as stopping, tell the message-gateway to move the pods destinations to other brokers
  • when that is complete, wait for the destinations to be drained in the pod
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant