You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/content-placement/placement.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ aliases:
22
22
23
23
## Overall
24
24
25
-
`Placement` concept is used to dynamically select a set of [managedClusters](../managedcluster)
26
-
in one or multiple [ManagedClusterSet](../managedclusterset) so that higher level
25
+
`Placement` concept is used to dynamically select a set of [managedClusters](../cluster-inventory/managedcluster)
26
+
in one or multiple [ManagedClusterSet](../cluster-inventory/managedclusterset) so that higher level
27
27
users can either replicate Kubernetes resources to the member clusters or run
28
28
their advanced workload i.e. __multi-cluster scheduling__.
29
29
@@ -48,7 +48,7 @@ multi-cluster scheduling is logically divided into two phases internally:
48
48
49
49
## Select clusters in ManagedClusterSet
50
50
51
-
By following [the previous section](../managedclusterset) about
51
+
By following [the previous section](../cluster-inventory/managedclusterset) about
52
52
`ManagedClusterSet`, now we're supposed to have one or multiple valid cluster
53
53
sets in the hub clusters. Then we can move on and create a placement in the
54
54
"workspace namespace" by specifying `predicates` and `prioritizers` in the
@@ -62,7 +62,7 @@ sets in the hub clusters. Then we can move on and create a placement in the
62
62
63
63
#### Label/Claim selection
64
64
65
-
In the `predicates` section, you can select clusters by labels or [clusterClaims](../clusterclaim).
65
+
In the `predicates` section, you can select clusters by labels or [clusterClaims](../cluster-inventory/clusterclaim).
66
66
For instance, you can select 3 clusters with label `purpose=test` and
67
67
clusterClaim `platform.open-cluster-management.io=aws` as seen in the following
68
68
examples:
@@ -106,7 +106,7 @@ cluster.
106
106
In OCM, Taints and Tolerations work together to allow users to control the
107
107
selection of managed clusters more flexibly.
108
108
109
-
[Taints](../managedcluster/#cluster-taints-and-tolerations) are properties of
109
+
[Taints](../cluster-inventory/managedcluster/#cluster-taints-and-tolerations) are properties of
110
110
ManagedClusters, they allow a Placement to repel a set of ManagedClusters in
111
111
predicates stage.
112
112
@@ -494,7 +494,7 @@ metadata:
494
494
495
495
### Rollout Strategy
496
496
497
-
Rollout Strategy [API](https://github.com/open-cluster-management-io/api/blob/main/cluster/v1alpha1/types_rolloutstrategy.go) facilitate the use of placement decision strategy with OCM workload applier APIs such as Policy, [Addon](https://open-cluster-management.io/concepts/addon/#add-on-rollout-strategy) and [ManifestWorkReplicaSet](https://open-cluster-management.io/concepts/manifestworkreplicaset/) to apply workloads.
497
+
Rollout Strategy [API](https://github.com/open-cluster-management-io/api/blob/main/cluster/v1alpha1/types_rolloutstrategy.go) facilitate the use of placement decision strategy with OCM workload applier APIs such as Policy, [Addon](../add-on-extensibility/addon/#rollout-strategy) and [ManifestWorkReplicaSet](../work-distribution/manifestworkreplicaset/) to apply workloads.
Welcome to our Frequently Asked Questions (FAQ) page! Here, you'll find answers to some of the most common questions we receive. If you have a question that isn't covered here, feel free to reach out to us directly.
7
+
8
+
## Questions
9
+
10
+
### What is the difference between Karmada and OCM? ###
11
+
12
+
We have a post about this at CNCF blog: [Karmada and Open Cluster Management: two new approaches to the multicluster fleet management challenge](https://www.cncf.io/blog/2022/09/26/karmada-and-open-cluster-management-two-new-approaches-to-the-multicluster-fleet-management-challenge/).
13
+
14
+
### What is the difference between ManifestWork, ManifestWorkReplicaset and AddOn? When to use them? ###
**_Definition:_** Manifestwork is a resource used to define a group of Kubernetes resources that should be applied to a managed cluster from a hub cluster. It allows for the deployment of various resources (like Deployments, Services, etc.) to a specific managed cluster.
19
+
20
+
**_Use Case:_** Use ManifestWork when you want to apply a specific set of resources to a single managed cluster. It is ideal for scenarios where you need to manage resources directly and track their status on that cluster.
21
+
22
+
**_Example:_** Deploying a Deployment and a Service to a managed cluster. You can use [clusteradm](https://github.com/open-cluster-management-io/clusteradm) command `clusteradm create work work-example -f xxx.yaml --clusters cluster1` to wrap the kubernetes native resource with a ManifestWork and submit it to a sepecific managed cluster.
**_Definition:_** ManifestWorkReplicaSet is an aggregator API that utilizes [Manifestwork](../concepts/work-distribution/manifestwork) and [Placement](../concepts/content-placement/placement) to create multiple ManifestWork resources for clusters selected by placements. It allows for the deployment of resources across multiple clusters based on defined rollout strategies.
27
+
28
+
**_Use Case:_** Use ManifestWorkReplicaSet when you need to deploy the same resources to multiple clusters simultaneously, with the ability to control the rollout strategy (e.g., all at once, progressively, etc.). It is useful for managing deployments across a fleet of clusters.
29
+
30
+
**_Example:_** Deploying a CronJob and Namespace to multiple clusters selected by a placement strategy.
**_Definition:_** An Add-On in Open Cluster Management is a mechanism that consists of an Addon Agent (running in managed clusters) and an Addon Manager (running in the hub cluster). It allows for the management of extensions that work with multiple clusters, providing a way to apply configurations and manage the lifecycle of resources across clusters by using the rollout strategy.
35
+
36
+
**_Use Case:_** Use Add-Ons when you need to implement a more complex solution that requires ongoing management and configuration of resources across multiple clusters.
37
+
38
+
**_Example:_** A tool that collects alert events from managed clusters and sends them to the hub cluster.
39
+
40
+
**Summary**
41
+
- ManifestWork is for single cluster resource management.
42
+
- ManifestWorkReplicaSet is for managing resources across multiple clusters with defined rollout strategies.
43
+
- Add-On is for implementing extensions that require ongoing management and configuration across multiple clusters, leveraging both an agent and a manager. Also provide the ability to control the addon's lifecycle with rollout strategy.
0 commit comments