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

Unable to opt in service account metrics with cli #2268

Open
tomershafir opened this issue Dec 12, 2023 · 1 comment
Open

Unable to opt in service account metrics with cli #2268

tomershafir opened this issue Dec 12, 2023 · 1 comment
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/support Categorizes issue or PR as a support question. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@tomershafir
Copy link

What happened:
I want to opt in service account metrics, its not clear from the docs how to use the cli option, it didnt work for me.

What you expected to happen:
Service account metrics will be exported

How to reproduce it (as minimally and precisely as possible):
Both of the following didnt work:
1.

extraArgs:
  - --metric-opt-in-list=serviceaccounts=[*]
extraArgs:
  - --metric-opt-in-list=kube_serviceaccount_info

Environment:

  • kube-state-metrics version: v2.6.0
  • Kubernetes version (use kubectl version):
    Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.16", GitCommit:"51e33fadff13065ae5518db94e84598293965939", GitTreeState:"clean", BuildDate:"2023-07-19T12:19:24Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
@tomershafir tomershafir added the kind/bug Categorizes issue or PR as related to a bug. label Dec 12, 2023
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Dec 12, 2023
@logicalhan
Copy link
Member

/triage accepted
/kind support
/assign @dgrisonnet

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. kind/support Categorizes issue or PR as a support question. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/support Categorizes issue or PR as a support question. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

4 participants