-
Notifications
You must be signed in to change notification settings - Fork 1
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
CP-23050: Validate CloudZero Metrics are available from Kube State Metrics #64
Conversation
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.
lgtm! I have some clarifying questions, mostly about ordering of changes, as it looks like this requires some chart changes
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.
Looks Good, just have the question about ksm
vs kms
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.
small nit - should this be ksm
instead of kms
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.
Yea that's just things were before
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.
Cool if I tackle this in the next PR?
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.
lgtm!
* CP-23425: update records incrementally (#65) * writer updates max of 500 records at a time * CP-23425: retry on remote write (#63) * CP-23425: add ability to toggle individual resource types (#64) * [CP-23425] update log line to prevent nil pointer exception, increase k8s client qps (#67) * fix log line * increase qps allowed by k8s client * add busy timeout to db driver * add new test for empty results * Release 0.0.2 release notes (#66) * Add 0.0.2 release notes
This PR modifies the
kube_state_metrics_reachable
post-start
job to also validate that all CloudZero KMS metrics are available. A sample log output from the Job:The log statements show that the job was able to discover the internal IP of the KSM service, find all required metrics, and mark the
kube_state_metrics_reachable
job as complete.It's worth noting that the base branch is
feature/cp-23050
, notdevelop
. The remaining work will be handled in a subsequent ticket. I hard coded some values temporarily to prove out the functionality until we can get around to the Chart changes in https://cloudzero.atlassian.net/browse/CP-23740.