Skip to content
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

Spot termination exporter - fetch rebalance recommendations #1

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

gjtempleton
Copy link
Owner

PR description from banzaicloud#15

What's in this PR?

  • Adds instance_type label to terminationIndicator and terminationTime metrics to allow tracking of trends by instance type
  • Adds monitoring for rebalance recommendation on instance metadata endpoint to add new metrics for when instances are being recommended for rebalance, includes the instance_id and instance_type labels

Why?

Rebalance recommendations provide potentially significant advance notice of potential spot disruption before the 2-minute notice of a spot termination. Adding the exposure of this metric allows cluster operators to gain advance warning of potentially large scale spot interruptions in their clusters.

The addition of the instance_type label also allows cluster operators to understand if their spot interruptions are clustered on specific instance types, leading to data driven consideration of instance type choices.

@gjtempleton gjtempleton merged commit df881ba into master Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant