-
Notifications
You must be signed in to change notification settings - Fork 241
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
Autoscale vtgate replicas using HPA #3945
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c5a7b27
DREIMP-10951: autoscale vtgate deployments using HPA
siadat 39b71f6
rename Scalable to Vtgate
siadat 8758c28
Make it explicit which CRs update related objects
siadat bb1f149
Remove hard-coded HPA specs
siadat 91411fb
Rename Vtgate to ScalableVtgate
siadat eb997b5
Define ScalableVtgate metadata in one place
siadat 0daabb8
HPA name should be the same as the cell, not cluster
siadat b382e1f
Set owner_references for vtgate HPAs
siadat e0a8bc9
Fix error message
siadat 7288c60
Fix mypy errors
siadat d078a30
Fix tests
siadat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think we'd want a log message right before this as in
paasta/paasta_tools/setup_kubernetes_job.py
Line 323 in d078a30
I think I also need to take a closer look at what
{setup,cleanup}_kubernetes_cr()
currently do and see if there's anything we need to worry about there re: a CRD that's not created withcreate_custom_resource()
@EvanKrall @Rob-Johnson I'm also a little unsure about what the best way to do this is - I'm not sure if we'd want to have this sort of conditional logic based on the instance type or if we'd want to to something at the base class that all these instance types use so that updating CRs that aren't directly tied to a CRD that paasta discovers