Add kubernetes connection status widget
What does this MR do and why?
This MR implements #429531 (closed) adding everything needed for refresh functionality on the environment cluster dashboard.
The changes in this merge request are related to the Kubernetes integration in GitLab.
A new component, KubernetesConnectionStatus
, is introduced to display the connection status of Kubernetes resources like pods and services.
It also includes a button to reconnect to the cluster if the connection is lost.
Additionally, a new query, k8sConnectionStatusQuery
, is added to fetch the connection status of Kubernetes resources, and a mutation, reconnectToClusterMutation
, is added to reconnect to the cluster.
The component also handles errors and displays appropriate messages to the user.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.