kubernetes / perf-tests

Performance tests and benchmarks
Apache License 2.0
893 stars 528 forks source link

k8s v1.23, the APIResponsivenessPrometheus some metrics cannot be collected compared with k8s v1.22 like "podsecuritypolicies" "podmonitors" "controllerrevisions" "csistoragecapacities csidrivers" #2143

Closed DavidQuan-vmware closed 1 year ago

DavidQuan-vmware commented 2 years ago

What happened: For k8s v1.23, the APIResponsivenessPrometheus some metrics cannot be collected compared with k8s v1.22, the metrics which cannot be collected as bellow : "podsecuritypolicies" "podmonitors" "controllerrevisions" "csistoragecapacities csidrivers"

k8s v1.22 metrics: APIResponsivenessPrometheus_mgmt-cluster-perf_2022-06-24T05:52:17-07:00.json|grep podsecuritypolicies -A13 "Resource": "podsecuritypolicies", "Scope": "cluster", "SlowCount": "0", "Subresource": "", "Verb": "LIST" } }, { "data": { "Perc50": 550, "Perc90": 880, "Perc99": 898 }, "unit": "ms",

k8s v1.23 metrics: cat APIResponsivenessPrometheus_mgmt-cluster-perf_2022-09-21T11:19:03Z.json|grep podsecuritypolicies -A13 "Resource": "podsecuritypolicies", "Scope": "cluster", "SlowCount": "0", "Subresource": "", "Verb": "LIST" } }, { "data": { "Perc50": 0, "Perc90": 0, "Perc99": 0 }, "unit": "ms",

Thanks for checking on this.

What you expected to happen: expected the metric of "podsecuritypolicies" "podmonitors" "controllerrevisions" "csistoragecapacities csidrivers" can be collected in APIResponsivenessPrometheus json.

How to reproduce it (as minimally and precisely as possible): cd /src/k8s.io/perf-tests/clusterloader2/; ./run-e2e.sh --testconfig=./testing/load/config.yaml --report-dir=$f/artifacts --masterip=$masterip --master-internal-ip=$masterip --enable-prometheus-server=true --tear-down-prometheus-server=false --prometheus-scrape-etcd=true --prometheus-scrape-kube-proxy=false --prometheus-scrape-node-exporter=false --prometheus-scrape-kubelets=true --prometheus-manifest-path /src/k8s.io//perf-tests/clusterloader2/pkg/prometheus/manifests/ --alsologtostderr --provider vsphere 2>&1 | tee $f/out.log

Anything else we need to know?:

Environment:

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 1 year ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes/perf-tests/issues/2143#issuecomment-1436284292): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.