Home

Awesome

image

License CII Best Practices OpenSSF Scorecard FOSSA Status Artifact HUB Cluster Manager Artifact HUB Klusterlet

Welcome! The open-cluster-management.io project is focused on enabling end-to-end visibility and control across your Kubernetes clusters.

The Open Cluster Management (OCM) architecture uses a hub - agent model. The hub centralizes control of all the managed clusters. An agent, which we call the klusterlet, resides on each managed cluster to manage registration to the hub and run instructions from the hub.

image

OCM is a Cloud Native Computing Foundation (CNCF) sandbox project.

You can use the clusteradm CLI to bootstrap a control plane for multicluster management. The following diagram illustrates the deployment architecture for OCM:

image

To setup a multicluster environment with OCM enabled on your local machine, follow the instructions in setup dev environment.

There are a number of key use cases that are enabled by this project, and are categorized to 3 sub projects.

Cluster Lifecycle: Cluster registration and management

OCM has a group of APIs to provide the foundational functions in multiple cluster management.

The journey of cluster management starts with Cluster Registration which follows a double opt-in protocol to establish a MTLS connection from the agent on the managed cluster (Klusterlet) to the hub (Cluster Manager). After this, users or operands on the hub can declare ManifestWorks which contains a slice of Kubernetes resource manifests to be distributed and applied to a certain managed cluster. To schedule workloads to a certain set of clusters, users can also declare a Placement on the hub to dynamically select a set of clusters with certain criteria.

In addition, developers can leverage Addon framework to build their own management tools or integrate with other open source projects to extend the multicluster management capability. OCM maintaines two built-in addons for application lifecycle and security governance.

Application Lifecycle: Delivery, upgrade, and configuration of applications on Kubernetes clusters

The application model defines a Kubernetes-first way of describing the application. Your existing Kubernetes apps or kustomized apps can be adapted with the addition of a few new objects: Channel, and Subscription. Changes made to the app are then easily delivered to managed clusters based on the dynamic placement engine. See deploy a helm chart on how to install application manager addon in OCM and deploy helm charts in multiple clusters.

GRC: Governance, Risk and Compliance across Kubernetes clusters

Policy controllers allow the declarative expression of a desired condition that can be audited or enforced against a set of managed clusters. Policies allow you to drive cross-cluster configuration or validate that a certain configuration explicitly does not exist.

The following repositories describe the underlying API and controllers for the GRC model:

More external integrations

We are constantly working with other open source projects to make multicluster management easier.

Get connected

See the following options to connect with the community: