-
Notifications
You must be signed in to change notification settings - Fork 243
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
Inconsistencies with Cluster metrics across the UI #5430
Comments
I see problem with these metrics as well (2.6.3-patch2). In cluster explorer, I see metrics numbers like cpu, memory, but they are not current, they seem to be from some point in time and not updated or randomly updated. |
BE response to possibly adding status.usage to git repo obj response: |
Another possible scenario: SURE-4301 brings up the scenario that a k8s upgrade to 1.21.8 changes the monitoring values. |
@gaktive I think we should look into SURE-4301 for 2.6.6. The PR is already open for this issue and I think that SURE-4301 will need quite a bit of time to investigate. Heads up: We are going to remove the "usage" for CPU and MEM in the homepage. Technically the values that we were displaying there were for reserved and not used resources, which is the data the clients really want to look at. To add that data on the homepage, we would need changes to the BE. So, clients should focus on looking at the cluster dashboard to get proper metrics for their clusters for now. FYI @nwmac |
Upon discussion, we're OK to remove the usage side if the results are wrong. We just need to put this in the release notes for 2.6.5. I see the docs ticket in place, so that's helpful. |
Setup: Steps:
|
As a Rancher platform owner, it was good to have a holistic view of all the clusters usage across the board. |
System
v2.6.3
Describe the bug
Several inconsistencies with Cluster metrics have been found throughout the UI (
homepage
vsCluster Dashboard
vsNode list view
-> for single node clusters).1) In theFIXED in 2.6.4 alreadyhomepage
cluster table, the "usage" for RKE2 clusters is always zero2) Values for Reserved (MEM and CPU) inFIXED in 2.6.4 alreadyCluster Dashboard
for a RK2 cluster are broken (as in it displays 0 always)3) Number of PODS used in the
homepage
cluster table is inconsistent with the number displayed inCluster Dashboard
for all cluster types4) in the
homepage
cluster table we use MB for MEM less than 1 GiB, while the units inCluster Dashboard
are only GiB5) Inconsistency between the number of "used" PODS between
Cluster Dashboard
andnodes list view
(applicable for single machine count/node Clusters)6) In the
homepage
cluster table we show the "reserved" values rather than the "usage" values when comparing with theCluster Dashboard
To Reproduce
1) Create a RKE2 cluster -> checkCluster Dashboard
for numbers -> compare withhomepage
(always zero)2) Create a RKE2 cluster -> Create a deployment with MEM and CPU reserved -> checkCluster Dashboard
3) Create a RKE2 cluster -> check
Cluster Dashboard
for POD numbers -> compare withhomepage
4) Create a RKE2 cluster -> check
Cluster Dashboard
for MEM units -> compare withhomepage
5) Create a RKE2 cluster with a single node -> Create a deployment -> check
Cluster Dashboard
and compare withnodes list view
6) Create a RKE2 cluster -> check
Cluster Dashboard
for numbers -> compare withhomepage
Expected Result
Additional Information
The text was updated successfully, but these errors were encountered: