Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Getting Started with the Cluster Inventory API on OCM (Part 1: ClusterProfile)

DEV Community·Kahiro Okina·28 days ago
#3QLEG7n1
Reading 0:00
15s threshold

This is Part 1 of a two-part series. Part 2 (coming soon): Connecting to spoke clusters from a controller using multicluster-runtime , driven by ClusterProfile . What this article is about The Cluster Inventory API ( multicluster.x-k8s.io ) is driven by SIG-Multicluster and centered on the ClusterProfile resource. It only delivers value when something produces those ClusterProfile s . That something is a cluster manager . Today, the production-ready open-source option is Open Cluster Management (OCM) , whose registration controller can act as a ClusterProfile cluster manager behind a feature gate. This article shows how to set that up end-to-end on a local kind environment: An OCM hub-spoke setup with three kind clusters. The ClusterProfile feature gate enabled on the hub. cluster-proxy wired in so ClusterProfile.status.accessProviders carries real, usable connection info. ClusterProperty from the spokes flowing into ClusterProfile.status.properties on the hub.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More