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: support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementapplied-false.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,19 +20,19 @@ When you use the `ClusterResourcePlacement` or `ResourcePlacement` API object in
20
20
21
21
## Cause
22
22
23
-
This issue might occur because of one of the following reasons:
23
+
One of the following reasons might cause the issue:
24
24
25
-
- The resource already exists on the cluster and isn't managed by the fleet controller.
26
-
- Another placement (ClusterResourcePlacement or ResourcePlacement) is already managing the resource for the selected cluster by using a different apply strategy.
27
-
- The placement doesn't apply the manifest because of syntax errors or invalid resource configurations. This might also occur if a resource is propagated through an envelope object.
25
+
- The resource already exists on the cluster and the fleet controller doesn't manage it.
26
+
- Another placement (ClusterResourcePlacement or ResourcePlacement) already manages the resource for the selected cluster by using a different apply strategy.
27
+
- The placement doesn't apply the manifest because of syntax errors or invalid resource configurations. A resource propagated through an envelope object might also cause the issue.
28
28
29
29
## Troubleshooting steps
30
30
31
-
1.**Check `placementStatuses`**: In the placement status section, inspect the `placementStatuses` to identify which clusters have the `ClusterResourcePlacementApplied` (for ClusterResourcePlacement) or `ResourcePlacementApplied` (for ResourcePlacement) condition set to `False` and note down their `clusterName`.
32
-
2.**Locate the `Work` object in hub cluster**: Use the identified `clusterName` to locate the `Work` object associated with the member cluster.
31
+
1.To identify clusters with the `ClusterResourcePlacementApplied` (for ClusterResourcePlacement) or `ResourcePlacementApplied` (for ResourcePlacement) condition set to `False`, inspect the `placementStatuses` in the placement status section and note down their `clusterName`.
32
+
2.To locate the `Work` object associated with the member cluster, use the identified `clusterName`.
33
33
- For ClusterResourcePlacement, see [How to find the correct Work resource associated with `ClusterResourcePlacement`](troubleshoot-clusterresourceplacement-api-issues.md#find-work)
34
34
- For ResourcePlacement, see [How to find the correct Work resource associated with `ResourcePlacement`](troubleshoot-resourceplacement-api-issues.md#find-work)
35
-
3.**Check `Work` object status**: Inspect the status of the `Work` object to understand the specific issues preventing successful resource application.
35
+
3.To understand the specific issues preventing successful resource application, inspect the status of the `Work` object.
36
36
37
37
## Case study: ClusterResourcePlacement
38
38
@@ -196,7 +196,7 @@ status:
196
196
version: v1
197
197
```
198
198
199
-
In the `failedPlacements` section for `kind-cluster-1`, the `message` fields explain why the resource wasn't applied on the member cluster. In the preceding `conditions` section, the `Applied` condition for `kind-cluster-1` is flagged as `false` and shows the `NotAllWorkHaveBeenApplied` reason. This indicates that the `Work` object that's intended for the member cluster `kind-cluster-1` wasn't applied. For more information, see [How to find the correct Work resource associated with `ClusterResourcePlacement`](troubleshoot-clusterresourceplacement-api-issues.md#find-work).
199
+
In the `failedPlacements` section for `kind-cluster-1`, the `message` fields explain why the resource wasn't applied on the member cluster. In the preceding `conditions` section, the `Applied` condition for `kind-cluster-1` is flagged as `false` and shows the `NotAllWorkHaveBeenApplied` reason. The `Work` object intended for the member cluster `kind-cluster-1` wasn't applied. For more information, see [How to find the correct Work resource associated with `ClusterResourcePlacement`](troubleshoot-clusterresourceplacement-api-issues.md#find-work).
200
200
201
201
### Work status of kind-cluster-1
202
202
@@ -263,14 +263,14 @@ Check the `Work` status, particularly the `manifestConditions` section. You can
263
263
264
264
### Resolution
265
265
266
-
In this situation, a potential solution is to set the `AllowCoOwnership` to `true` in the ApplyStrategy policy. However, it's important to notice that this decision should be made by the user because the resources might not be shared.
266
+
In the situation, set the `AllowCoOwnership` to `true` in the ApplyStrategy policy. However, the user must make the decision because the resources might not be shared.
267
267
268
268
## General Troubleshooting Notes
269
269
270
-
The troubleshooting process and Work object inspection are identical for both ClusterResourcePlacement and ResourcePlacement:
271
-
- Both use the same underlying Work API to apply resources to member clusters
272
-
- The Work object status and manifestConditions have the same structure regardless of whether they were created by a ClusterResourcePlacement or ResourcePlacement
273
-
- The main difference is the scope: ClusterResourcePlacement is cluster-scoped and can select both cluster-scoped and namespace-scoped resources, while ResourcePlacement is namespace-scoped and can only select namespace-scoped resources within its own namespace
270
+
The troubleshooting process and Work object inspection are identical for both placement types:
271
+
- Both use the same underlying Work API to apply resources to member clusters.
272
+
- The Work object status and manifestConditions have the same structure regardless of the placement type that created them.
273
+
- The main difference is the scope: the cluster-scoped placement can select both cluster-scoped and namespace-scoped resources, while the namespace-scoped placement can only select namespace-scoped resources within its own namespace.
274
274
275
275
For ResourcePlacement-specific considerations:
276
276
- Ensure the target namespace exists on member clusters before the ResourcePlacement tries to apply resources to it
0 commit comments