-
Notifications
You must be signed in to change notification settings - Fork 67
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
Enable budget alerts on azure clusters #4476
Conversation
In another issue somewhere, and I remember adding it to docs (but Erik probably overwrote it when he made everything automatically adjustable), we agreed to use Kitware to set a threshold for new hubs. |
|
Thank you @sgibson91! I will add back that piece of info to the docs. However, for this hub, as it's not a new one and has been operating for a full month, I think it's best to take its own cost rather than one from another hub. Does this sound ok to you? |
…mption_budget_subscription to track all costs
UpdateI had to replace consumption_budget_resource_group mentioned in the issue for consumption_budget_subscription because there were more than one resource group and we only define one through terraform, the others get automatically created. @sgibson91 has provided more context about this and possible solution in #4478. Thank you @sgibson91! |
I've set this to a lower budget limit to see if it triggers an email. The docs say it should take for an email to come through after the evaluation, but not sure how often the evaluation happens. If this takes a lot of time, I will merge it and check again tomorow for further fixes if it hadn't triggered still. |
Fixes https://github.com/2i2c-org/meta/issues/1278
Important notes
I don't think there's a way to automatically adjust the amount on azure like it was done for GCP or AWS because the
amount
field must be a number and that's it. Based on my reading of the documentation there isn't a way to automatically adjust this numberBecause the hub has only been deployed at the end of May, the budget is calculated based on the cost of one month-June, which is the only full month that the hub has been operating for
Todos before merging