Skip to content

Added node size to cluster index

Emily Ring requested to merge 196544-nodemetrics-size into master

What does this MR do?

This is related to the cluster redesign.

Epic: &2666 (closed)

Issue: #196544 (closed)

We recently added a reactive cache to fetch nodemetric data. We can now display those metrics on the index page.

This MR will

  • Updates the Polling method. It will continue to make requests until the nodes appear.
  • Adds cluster size to the cluster list table. (FYI: The new table is under a feature flag. You won't be able to see the changes unless you enable the flag).
- if Feature.enabled?(:clusters_list_redesign)
      #js-clusters-list-app{ data: { endpoint: clusterable.index_path(format: :json) } }
  • Updates associated tests

Screenshots

image

When Nodes fail to load image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #196544 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports