Skip to content

Commit

Permalink
update wrong yaml writing in Suspend and resume of resource propagation
Browse files Browse the repository at this point in the history
Signed-off-by: changzhen <[email protected]>
  • Loading branch information
XiShanYongYe-Chang committed Sep 9, 2024
1 parent 4caedc4 commit 04c2736
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/userguide/scheduling/resource-propagating.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,9 @@ spec:
- member3
#...
suspension:
clusterNames: ["member3"] # Modify the cluster name here
dispatchingOnClusters:
clusterNames:
- member3 # Modify the cluster name here
```

Updates to the `nginx` deployment in the Karmada control plane will not be synchronized to the `member3` cluster but will be synchronized to all other clusters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,9 @@ spec:
- member3
#...
suspension:
clusterNames: ["member3"] # 修改此处的集群名称
dispatchingOnClusters:
clusterNames:
- member3 # 修改此处的集群名称
```

在 Karmada 控制平面上对 `nginx` Deployment 的更新将不会被同步到 `member3` 集群,但会被同步到所有其他集群。
Expand Down

0 comments on commit 04c2736

Please sign in to comment.