-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug fix: create blueprints for suspended routes too #856
bug fix: create blueprints for suspended routes too #856
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've confirmed this is properly handling the suspended case. Suspending an instance results in the addition of two more blueprints. The bootstrap one has:
and the one corresponding to the normal broker routes:
Looking at memory, the ingress pods with the extra blueprints are now sitting at ~350Mi. |
Presumably the 500 setting is per pool, so I think we could safely drop that to 300 (50 instances * 3 brokers * 2 margin) now that we're subdividing things so much. |
Yes, 500 is per pool. I'd be happy with 300 pool size. I'll do it. As we mentioned elsewhere there is provision to annotate the blueprint with a poolsize (after all 300 suspended instances = unlikely), but I vote we don't do that now. We can tune that later if we like. |
Kudos, SonarCloud Quality Gate passed! |
* bug fix: create blueprints for suspended routes too * reduce pool size 500=>300
#850 was incomplete as we failed to consider suspended routes, so instance suspension was still leading to a haproxy restart. This creates blueprints for those routes too.