-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implement zoneTracker for coordinating downscales across statefulsets using a file in object storage for the prepare_downscale admission webhook #96
Closed
JordanRushing
wants to merge
15
commits into
grafana:main
from
JordanRushing:prep-downscale-last-downscale-objstore
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f5be68c
Implement zoneTracker for coordinating downscales across statefulsets…
JordanRushing 7d1958f
Merge branch 'main' into prep-downscale-last-downscale-objstore
JordanRushing 60b37ec
Expand tests; fix deadlocks in zoneTracker; add logic to create an in…
JordanRushing bd9ef2d
Add zoneTracker support for s3; validate new config flags for object …
JordanRushing b11ec77
Fix s3 config env variable names
JordanRushing 33dd5e5
Add bucket client support for gcs, azure; update config flag validati…
JordanRushing f2b53ef
Add endpoint to Azure bucket client config; update config validation
JordanRushing 93efd5d
Add additional zoneTracker tests
JordanRushing 7bd2c6d
Remove redundant `defer r.close()` from `loadZones`
JordanRushing 6e4bf58
Remove unused ctx from function definitions; update comment for saveZ…
JordanRushing 0f40551
Merge branch 'main' into prep-downscale-last-downscale-objstore
JordanRushing 0b07920
Resolve merge conflicts with `main`; run `go mod tidy` & `go mod vendor`
JordanRushing c269119
Convert zoneTracker zones map to use zoneInfo struct instead of strin…
JordanRushing f62c470
Clean up loadZones function
JordanRushing 72c1cda
Fix setDownscaled to actually update the zoneInfo in the map
JordanRushing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
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.
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.
The code in this branch belongs better in zone_tracker.go
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 don't know if I agree here, this validates the required config fields to launch with the zt following the pattern we use to validate the required kube config as well.