×
Community Blog Improve Usability Comprehensively: Open Cluster Management (OCM) v0.7.0

Improve Usability Comprehensively: Open Cluster Management (OCM) v0.7.0

This article discusses the release of OCM v0.7.0, including new features and upgrades.

By Zuo Xiu

The Release of OCM v0.7.0

The Open Cluster Management (OCM) community officially released v0.7.0 at the end of March. In this version, the community maintainer has solved some problems with the existing features and polished and improved the experience for end users. Newly logged-on users can refer to the document [1] to experience the new version. At the same time, users that have deployed v0.6.0 can refer to the document [2] to upgrade the existing environment.

New Features of DefaultClusterSet

The new version provides the "DefaultClusterSet" feature to enable users to log on to cross-cluster orchestration capabilities (such as Placement) of OCM smoothly. In old versions of OCM, users need to plan the ClusterSet topology of clusters in OCM in advance to experience the relevant advanced features. However, in the new version, all managed clusters registered in the OCM environment are registered in the ClusterSet named "default" by default. As a result, we can perform multi-cluster orchestration in a multi-cluster environment with a relatively simple topology by directly binding or mapping the "default" to the namespace of a hub cluster.

Please see the document [3] for more information about how to plan a multi-cluster topology based on ClusterSet in OCM.

1

The Upgrade of Placement API to v1beta1 Version

According to feedback on the v1alpha1 version, the OCM community officially upgrades the Placement API to the v1beta1 version. The Beta version means that the community will provide more reliable maintenance for the compatibility of the API model for the version. Meanwhile, Placement API will provide the capability for multi-cluster scheduling based on the semantics of Taint and Toleration in the Beta version to simplify the end-user experience of Placement API. Therefore, users familiar with the native scheduling mechanism of Kubernetes can refer to the pattern of placing taints to nodes and adding tolerations to containers in a single cluster and apply the pattern to multi-cluster scenarios. We can place specific clusters with taints and then declare in the Placement API that tolerations have implemented dynamic multi-cluster scheduling.

2

Requirements for Hub Cluster Version Reducing from v1.19 to v1.12

In the previous versions of OCM, the requirements for the hub cluster version are higher than v1.19. This is mainly because the OCM hub component depends on the CSR API of the GA version. In v0.7.0, compatibility with the Beta version of the CSR API is now available. However, this compatibility needs to be enabled by manually adding the following configuration parameter to the OCM registration component:

> --feature-gate=V1beta1CSRAPICompatibility=true

Hosted Deployment Mode

The default deployment mode of OCM is the hub-spoke [4] mode, where one or more agent controllers are deployed in each managed cluster to operate clusters. The mode is also called the Pull architecture mode in multiple clusters. In the new version, OCM allows users to change the deployment architecture by moving an agent controller to a hub cluster (known as Hosted Deployment). In Hosted mode, no other components need to be deployed in the managed cluster, and all agent controllers are executed remotely.

Enhancement: Integration of Multi-Clusters in OCM and KubeVela v1.3

OCM and KubeVela are integrated further in KubeVela v1.3 [5], which was released at the same time. You can refer to the operation guide and screen recording above to experience the feature. In the guide above, we can experience:

  • How to use the plug-in mechanism of KubeVela to deploy the OCM hub component hub for a multi-cluster environment
  • How to deploy an OCM agent controller component Klusterlet in a managed cluster using the Vela command behavior
  • The multi-cluster application release feature of KubeVela v1.3

References

[1] Document
https://open-cluster-management.io/getting-started/quick-start/

[2] Document
https://open-cluster-management.io/getting-started/administration/upgrading/

[3] Document
https://open-cluster-management.io/concepts/managedclusterset/

[4] hub-spoke
https://en.wikipedia.org/wiki/Spoke%E2%80%93hub_distribution_paradigm

[5] Guide for enhancing integration of Multi-Cluster Feature of OCM and KubeVela v1.3
https://github.com/oam-dev/samples/tree/master/12.Open_Cluster_Management_Demo

0 0 0
Share on

You may also like

Comments

Related Products