-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachprod: delete cluster config on GC #124604
roachprod: delete cluster config on GC #124604
Conversation
c063079
to
df671c9
Compare
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.
Nice! Left two non blocking nits and one small potential change but otherwise looks good. Have you been able to test this via roachprod gc
?
bb82246
to
91074e1
Compare
91074e1
to
a57f692
Compare
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.
Raised one concern about the default project and destroy cluster, but happy to approve once that is confirmed to not be problematic.
yes, I have tested this! I created a cluster with |
currently, prometheus cluster configs are not deleted on gc. This makes stale entries to remain. This PR deletes the cluster configs on GC. There is another minor fix for promhelpers access. The access to cloud storage was failing due to missing credentials. Fixes: cockroachdb#124599 Epic: none
a57f692
to
e4cb5c1
Compare
Thanks @DarrylWong and @herkolategan for your comments. I have resolved all. Please do take a look! |
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.
Thanks for fixing all the comments! LGTM
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.
Thanks for updating, LGTM!
bors r=@DarrylWong @herkolategan |
currently, prometheus cluster configs are not deleted on gc. This makes stale entries to remain. This PR deletes the cluster configs on GC.
There is another minor fix for promhelpers access. The access to cloud storage was failing due to missing credentials.
Fixes: #124599
Epic: none