Menu

Post image 1
Post image 2
1 / 2
0

Build an Open Cluster Management Hub-Spoke Environment and Enable Cluster Inventory API ClusterProfile

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

This article builds an Open Cluster Management (OCM) hub-spoke environment with three local kind clusters and enables the Cluster Inventory API ClusterProfile . It also creates ClusterProperty resources on the spoke clusters and verifies that they are propagated through ManagedCluster.status.clusterClaims on the hub into ClusterProfile.status.properties . The steps use kind , clusteradm , helm , and kubectl . The commands explicitly pass Kubernetes contexts so they can be copied and run in order. Overview This article creates the following setup. Three kind clusters: hub , cluster1 , and cluster2 The OCM hub manages cluster1 and cluster2 as managed clusters The managed clusters belong to a ManagedClusterSet named sandbox-fleet The cluster-proxy addon and managed-serviceaccount addon are installed on the spoke clusters ClusterProfile resources are created in the cluster-inventory namespace ClusterProperty values from the spoke clusters are synchronized into ClusterProfile.status.properties on the hub The…

Continue reading — create a free account

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

Read More