-
Notifications
You must be signed in to change notification settings - Fork 441
✨ metrics: add generator for kube-state-metrics customresource configuration #1043
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
9e798ce
to
3b209a2
Compare
@@ -0,0 +1,122 @@ | |||
/* |
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.
If wanted, I can volunteer to maintain this part of controller-gen (and/or also help on other parts of controller-tools) :-)
9b0a996
to
f7862f4
Compare
f7862f4
to
28f149a
Compare
28f149a
to
8fe2d86
Compare
We'll get back to this eventually, just low bandwith at the moment |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
8fe2d86
to
8e10d2c
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chrischdi 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 |
…tion and a clusterrole
6d632a5
to
3cfbf5e
Compare
This adds a generator to generate a customresource configuration file for kube-state-metrics from markers.
With that configuration it is possible to get metrics for CRs like kube-state-metrics exposes for core resources.
(xref)
Example usage:
controller-gen metrics output:metrics:stdout \ paths=./api/...\ > crd-config.yaml
Introduced markers:
Example usage: kubernetes-sigs/cluster-api#9347