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: articles/kubernetes-fleet/cluster-resource-override.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,7 +256,9 @@ rules:
256
256
257
257
1. Select **Create**.
258
258
259
-
1. Create a `ClusterResourcePlacement` resource to specify the placement rules for distributing the cluster resource overrides across the cluster infrastructure, as shown in the following example. Make sure you select the appropriate resource. When you're ready, select **Add**.
259
+
1. Create a `ClusterResourcePlacement` resource to specify the placement rules for distributing the cluster resource overrides across the cluster infrastructure, as shown in the following example. Make sure you select the appropriate resource. Replace the default template with the YAML example below, and select **Add**.
260
+
261
+
:::image type="content" source="./media/quickstart-resource-propagation/create-resource-propagation-inline.png" lightbox="./media/quickstart-resource-propagation/create-resource-propagation.png" alt-text="The Azure portal page for creating a resource placement, showing the YAML template with placeholder values.":::
260
262
261
263
```yaml
262
264
apiVersion: placement.kubernetes-fleet.io/v1beta1
@@ -282,7 +284,6 @@ rules:
282
284
283
285
This example distributes resources across all clusters labeled with `env: prod`. As the changes are implemented, the corresponding `ClusterResourceOverride` configurations will be applied to the designated clusters, triggered by the selection of matching cluster role resource, `secret-reader`.
284
286
285
-
:::image type="content" source="./media/quickstart-resource-propagation/create-resource-propagation-inline.png" lightbox="./media/quickstart-resource-propagation/create-resource-propagation.png" alt-text="The Azure portal page for creating a resource placement, showing the YAML template with placeholder values.":::
286
287
287
288
1. Verify that the cluster resource placement is created successfully.
Copy file name to clipboardExpand all lines: articles/kubernetes-fleet/quickstart-resource-propagation.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,21 +206,37 @@ For more information, see [Kubernetes resource propagation from hub cluster to m
206
206
207
207
1. Select **Create**.
208
208
209
-
1. Replace the placeholder values with your own, and select **Add**.
209
+
1. Replace the placeholder values with the following YAML, and select **Add**.
210
210
211
-
:::image type="content" source="./media/quickstart-resource-propagation/create-resource-propagation-inline.png" lightbox="./media/quickstart-resource-propagation/create-resource-propagation.png" alt-text="The Azure portal page for creating a resource placement, showing the YAML template with placeholder values.":::
211
+
:::image type="content" source="./media/quickstart-resource-propagation/create-crp-inline.png" lightbox="./media/quickstart-resource-propagation/create-crp.png" alt-text="The Azure portal page for creating a resource placement, showing the YAML template with placeholder values.":::
212
+
213
+
```yml
214
+
apiVersion: placement.kubernetes-fleet.io/v1beta1
215
+
kind: ClusterResourcePlacement
216
+
metadata:
217
+
name: crp
218
+
spec:
219
+
resourceSelectors:
220
+
- group: ""
221
+
kind: Namespace
222
+
version: v1
223
+
name: my-namespace
224
+
policy:
225
+
placementType: PickAll
226
+
```
227
+
212
228
213
229
1. Verify that the cluster resource placement is created successfully.
214
230
215
-
:::image type="content" source="./media/quickstart-resource-propagation/overview-cluster-resource-inline.png" lightbox="./media/quickstart-resource-propagation/overview-cluster-resource.png" alt-text="The Azure portal page for cluster resource placements, showing a successfully created cluster resource placement.":::
231
+
:::image type="content" source="./media/quickstart-resource-propagation/crp-success-inline.png" lightbox="./media/quickstart-resource-propagation/crp-success.png" alt-text="The Azure portal page for cluster resource placements, showing a successfully created cluster resource placement.":::
216
232
217
233
1. To see more details on an individual cluster resource placement, select it from the list.
218
234
219
-
:::image type="content" source="./media/quickstart-resource-propagation/overview-cluster-placement-details-inline.png" lightbox="./media/quickstart-resource-propagation/overview-cluster-placement-details.png" alt-text="The Azure portal overview page for an individual cluster resource placement, showing events and details.":::
235
+
:::image type="content" source="./media/quickstart-resource-propagation/crp-details-inline.png" lightbox="./media/quickstart-resource-propagation/crp-details.png" alt-text="The Azure portal overview page for an individual cluster resource placement, showing events and details.":::
220
236
221
237
1. You can view additional details on the cluster resource placement's snapshots, bindings, works, and scheduling policy snapshots using the individual tabs. For example, select the **Cluster Resources Snapshots** tab.
222
238
223
-
:::image type="content" source="./media/quickstart-resource-propagation/cluster-resource-snapshots-inline.png" lightbox="./media/quickstart-resource-propagation/cluster-resource-snapshots.png" alt-text="The Azure portal page for an a cluster resource placement, with the cluster resources snapshots tab selected.":::
239
+
:::image type="content" source="./media/quickstart-resource-propagation/crp-snapshot-inline.png" lightbox="./media/quickstart-resource-propagation/crp-snapshot.png" alt-text="The Azure portal page for an a cluster resource placement, with the cluster resources snapshots tab selected.":::
0 commit comments