Skip to content

[Doc Update] [console] 🐛 Fix cluster health data by using HTTP endpoint #879

@github-actions

Description

@github-actions

📝 Documentation Update Needed

A pull request was recently merged that may require documentation updates.

Source PR

PR Summary

This PR fixes cluster health data display issues by switching from WebSocket-based kubectl proxy to HTTP /cluster-health endpoint. It also extends metric sharing between same-server clusters to include nodeCount, podCount, healthy, and reachable flags.

Changes Overview

  • Switched fetchSingleClusterHealth to use /cluster-health HTTP endpoint instead of WebSocket-based kubectl proxy
  • Extended shareMetricsBetweenSameServerClusters to copy nodeCount, podCount, healthy, and reachable flags
  • Added trigger for metric sharing when nodeCount/podCount are updated
  • Fixed node/pod/CPU counts displaying as 0 in the Cluster Health card

Files Changed

The PR changes approximately 100-499 lines (size/L label), addressing backend data fetching and metric sharing logic for cluster health monitoring.


Action Required: The technical documentation writer agent will review this PR and identify specific documentation pages that need updates, then create a PR with the necessary changes.

/cc @technical-doc-writer

AI generated by scan-merged-prs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions