GitLab
Follow
Kubernetes overview: Operate cluster data on the frontend
- GitLab's enhanced Kubernetes integration enables real-time monitoring of cluster resources.
- It provides a dedicated dashboard for Kubernetes, displaying essential information for connected clusters.
- Three types of Kubernetes resources are currently supported: pods, services, and Flux resources.
- The GitLab agent for Kubernetes establishes a secure bidirectional connection between GitLab and Kubernetes clusters.
- The Watch API in Kubernetes allows for continuous streaming of cluster state updates, enabling real-time updates in GitLab's Kubernetes dashboard.
- @gitlab/cluster-client, a JavaScript library, provides an interface to Kubernetes APIs in a web browser.
- WatchApi class within @gitlab/cluster-client manages event processing and data management.
- The Kubernetes overview section in Environments provides a detailed view of Kubernetes resources related to specific environments.
- GraphQL client queries are used for efficient data fetching and manipulation in the frontend.
- A "connection status" badge indicates the state of the Watch stream and allows users to reconnect if necessary.