-
Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 update metrics configuration to v1beta2 #12642
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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Want to verify locally |
verified locally. /assign @sbueringer |
/hold cancel |
@@ -2,9 +2,9 @@ | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
kind: ClusterRole | |||
metadata: | |||
name: kube-state-metrics-custom-resource-capi | |||
labels: | |||
kube-state-metrics/aggregate-to-manager: "true" |
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.
This was intentional, right?
- spec | ||
- remediation | ||
- triggerIf | ||
- unhealthyRange |
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 this should be unhealthyInRange (same for metric name)
@@ -234,7 +230,13 @@ spec: | |||
topology_class: |
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.
This does not match the PR description
What this PR does / why we need it:
Updates the metrics configuration to use the v1beta2 api version instead of v1beta1.
Small adjustments to metrics:
capi_clusterclass_spec_topology_classref_namespace
)capi_clusterclass_spec_topology_class
tocapi_clusterclass_spec_topology_classref_name
maxUnhealthy
, addedremediation_triggerif_unhealthylessthanorequalto
andremediation_triggerif_unhealthyrange
Adjustments to dashboards:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Part of:
/area ci