-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.15.z, 4.16, 4.17.z, 4.18.z, 4.19.z
Description of problem:
Response rate in control plane status is reduced if the any of the managed cluster has issue with KCM providing wrong information
Version-Release number of selected component (if applicable):
4.15+
How reproducible:
Steps to Reproduce:
1. Create a HCP hub cluster 2. have multiple managed cluster reporting to this hub cluster 3. All the metrics are sent to hub cluster, 4. check the metrics (up{job="kube-controller-manager"} == 1) in hub cluster. 5. This shows output of all the clusters hub as well as managed
Actual results:
control place status because the query used there is to calculate the value based on sum of all job=kube-controller-manager
Expected results:
Control plane status should be calculated based on only hub cluster data not managed
Additional info:
We can add the metrics name as (up{job="kube-controller-manager",namespace="openshift-kube-controller-manager"} == 1)