-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
usage of metrics-reader ClusterRole #6587
Comments
This cluster role is scaffolded to allow the prometheus server to scrape metrics. The creation of cluster role binding is left to the user, depending on the namespace where prometheus is available. More details on its use and on how to create the cluster role binding for the cluster role are available here; https://book.kubebuilder.io/reference/metrics.html?highlight=prometheus#exporting-metrics-for-prometheus |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Type of question
Open question
Question
What did you do?
I want to know what is the usage of
metrics-reader
ClusterRole in rbac, because I don't see any ClusterRoleBinding defined for it and it's always unusable.What did you expect to see?
I want to delete
metrics-reader
ClusterRole or define a ClusterRoleBinding and subject it to the ServiceAccount used by the DeploymentEnvironment
Operator type: /language go
Kubernetes cluster type: k8s cluster deployed via kubespray
$ operator-sdk version
v1.31.0$ go version
(if language is Go) 1.19.11$ kubectl version
1.27The text was updated successfully, but these errors were encountered: