Bug 2091902
| Summary: | unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server has received too many requests and has asked us to try again later | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | diflores |
| Component: | Monitoring | Assignee: | Simon Pasquier <spasquie> |
| Status: | CLOSED ERRATA | QA Contact: | hongyan li <hongyli> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.10 | CC: | adjire, aharchin, amuller, anpicker, dgautam, dgrisonn, eglottma, hasun, hongyli, igreen, jgato, juzhao, mfojtik, oarribas, ocasalsa, spasquie, wking, xxia |
| Target Milestone: | --- | Flags: | hasun:
needinfo-
|
| Target Release: | 4.11.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 11:15:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2098505 | ||
|
Description
diflores
2022-05-31 09:33:36 UTC
test with payload 4.11.0-0.nightly-2022-06-21-151125
% oc delete ns lhytest
namespace "lhytest" deleted
% oc -n openshift-monitoring get deployment prometheus-adapter -oyaml|grep prometheus-url
- --prometheus-url=https://prometheus-k8s.openshift-monitoring.svc:9091
% oc -n openshift-monitoring get cm prometheus-adapter-prometheus-config -oyaml
apiVersion: v1
data:
prometheus-config.yaml: |
apiVersion: v1
clusters:
- cluster:
certificate-authority: /etc/ssl/certs/service-ca.crt
server: https://prometheus-k8s.openshift-monitoring.svc:9091
name: prometheus-k8s
contexts:
- context:
cluster: prometheus-k8s
user: prometheus-k8s
name: prometheus-k8s
current-context: prometheus-k8s
kind: Config
preferences: {}
users:
- name: prometheus-k8s
user:
tokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
kind: ConfigMap
metadata:
creationTimestamp: "2022-06-21T23:23:21Z"
name: prometheus-adapter-prometheus-config
namespace: openshift-monitoring
resourceVersion: "20964"
uid: 813b7aff-b484-4dd5-b8d5-bdf722a7d3c5
% oc adm top node
NAME CPU(cores) CPU% MEMORY(bytes) MEMORY%
ip-10-0-143-43.eu-west-1.compute.internal 126m 3% 2000Mi 13%
ip-10-0-154-180.eu-west-1.compute.internal 441m 12% 6213Mi 43%
ip-10-0-168-91.eu-west-1.compute.internal 204m 5% 3407Mi 23%
ip-10-0-183-252.eu-west-1.compute.internal 635m 18% 8983Mi 61%
ip-10-0-208-213.eu-west-1.compute.internal 203m 5% 3675Mi 25%
ip-10-0-210-94.eu-west-1.compute.internal 585m 16% 7397Mi 51%
% oc adm top pod -A
NAMESPACE NAME CPU(cores) MEMORY(bytes)
openshift-apiserver apiserver-86c6b9b4-6hlng 31m 240Mi
openshift-apiserver apiserver-86c6b9b4-97wfl 25m 237Mi
openshift-apiserver apiserver-86c6b9b4-mddjz 25m 262Mi
openshift-apiserver-operator openshift-apiserver-operator-7f8d964886-vpnjp 3m 124Mi
openshift-authentication oauth-openshift-6889cf667d-5zw8k 2m 38Mi
openshift-authentication oauth-openshift-6889cf667d-8cp5n 4m 36Mi
openshift-authentication oauth-openshift-6889cf667d-jsxc4 3m 42Mi
*** Bug 2091211 has been marked as a duplicate of this bug. *** |