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-clusterresourceplacementrolloutstarted-false.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -375,7 +375,7 @@ Upon creating the `test-ns` namespace on the hub cluster, the rollout controller
375
375
376
376
In this situation, to address this issue, consider manually setting `maxUnavailable` to a value greater than `1` to relax the `RollingUpdate` configuration. Alternatively, you can join a third member cluster.
377
377
378
-
### General Notes
378
+
## General Notes
379
379
The rollout failure investigation flow is identical for ClusterResourcePlacement and ResourcePlacement; only the snapshot object kind differs. Replace CRP-specific object kinds with their RP equivalents when working with namespace-scoped placements.
380
380
381
381
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
Copy file name to clipboardExpand all lines: support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementscheduled-false.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: ClusterResourcePlacementScheduled failure when using ClusterResourcePlacement API object in Azure Kubernetes Fleet Manager
3
-
description: Helps you resolve the ClusterResourcePlacementScheduled failure when you propagate resources using the ClusterResourcePlacement API object in Azure Kubernetes Fleet Manager.
4
-
ms.date: 08/05/2024
2
+
title: ClusterResourcePlacementScheduled / ResourcePlacementScheduled failure when using placement APIs in Azure Kubernetes Fleet Manager
3
+
description: Helps you resolve the ClusterResourcePlacementScheduled or ResourcePlacementScheduled failure when you propagate resources using the ClusterResourcePlacement or ResourcePlacement API object in Azure Kubernetes Fleet Manager.
ms.custom: sap:Other issue or questions related to Fleet manager
8
8
---
9
-
# Resource propagation failure: ClusterResourcePlacementScheduled is false
9
+
# Resource propagation failure: ClusterResourcePlacementScheduled / ResourcePlacementScheduled is false
10
10
11
-
This article describes how to troubleshoot `ClusterResourcePlacementScheduled` issues when you propagate resources using the `ClusterResourcePlacement` API object in Azure Kubernetes Fleet Manager.
11
+
This article describes how to troubleshoot `ClusterResourcePlacementScheduled`(for ClusterResourcePlacement) or `ResourcePlacementScheduled` (for ResourcePlacement) issues when you propagate resources using placement APIs in Azure Kubernetes Fleet Manager.
12
12
13
13
## Symptoms
14
14
15
-
When using the `ClusterResourcePlacement` API object in Azure Kubernetes Fleet Manager to propagate resources, the scheduler for Fleet workloads can't find all the required clusters specified by the scheduling policy, and the `ClusterResourcePlacementScheduled` condition status shows as `False`.
15
+
When using the `ClusterResourcePlacement`or `ResourcePlacement`API object in Azure Kubernetes Fleet Manager to propagate resources, the scheduler for Fleet workloads can't find all the required clusters specified by the scheduling policy, and the `ClusterResourcePlacementScheduled` (for ClusterResourcePlacement) or `ResourcePlacementScheduled` (for ResourcePlacement) condition status shows as `False`.
16
16
17
17
> [!NOTE]
18
18
> To get more information about why the scheduling fails, you can check the [scheduler](https://github.com/Azure/fleet/blob/main/pkg/scheduler/scheduler.go) logs.
@@ -23,14 +23,15 @@ This issue might occur for one of the following reasons:
23
23
24
24
- The placement policy is set to `PickFixed`, but the specified cluster names don't match any joined member cluster name in the fleet, or the specified cluster is no longer connected to the fleet.
25
25
- The placement policy is set to `PickN`, and N clusters are specified, but fewer than N clusters have joined the fleet or satisfied the placement policy.
26
-
- The `ClusterResourcePlacement` resource selector selects a reserved namespace.
26
+
- The placement resource selector selects a reserved namespace.
27
27
28
28
> [!NOTE]
29
-
> When the placement policy is set to `PickAll`, the `ClusterResourcePlacementScheduled` condition is set to `True`.
29
+
> When the placement policy is set to `PickAll`, the `ClusterResourcePlacementScheduled`or `ResourcePlacementScheduled`condition is always set to `True`.
30
30
31
-
## Case study
31
+
## Case study: ClusterResourcePlacement
32
32
33
-
In the following example, the `ClusterResourcePlacement` with a `PickN` placement policy is trying to propagate resources to two clusters labeled `env:prod`. The two clusters, named `kind-cluster-1` and `kind-cluster-2`, have joined the fleet. However, only one member cluster, `kind-cluster-1`, has the label `env:prod`.
33
+
In the following example, a `ClusterResourcePlacement` with a `PickN` placement policy is trying to propagate resources to two clusters labeled `env:prod`. (The same scheduling logic applies to `ResourcePlacement`.)
34
+
The two clusters, named `kind-cluster-1` and `kind-cluster-2`, have joined the fleet. However, only one member cluster, `kind-cluster-1`, has the label `env:prod`.
34
35
35
36
### ClusterResourcePlacement specification
36
37
@@ -214,5 +215,8 @@ status:
214
215
215
216
In this scenario, to resolve this issue, add the `env:prod` label to the member cluster resource for `kind-cluster-2` as well, so that the scheduler can select the cluster to propagate resources.
216
217
218
+
## General Notes
219
+
The scheduling failure investigation flow is identical for ClusterResourcePlacement and ResourcePlacement; only the snapshot object kind differs. Replace CRP-specific object kinds with their RP equivalents when working with namespace-scoped placements.
220
+
217
221
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments