Skip to content

Commit 2c72c54

Browse files
Wei WengWei Weng
authored andcommitted
scheduled tsg
Signed-off-by: Wei Weng <[email protected]>
1 parent c7f4657 commit 2c72c54

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementrolloutstarted-false.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Upon creating the `test-ns` namespace on the hub cluster, the rollout controller
375375

376376
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.
377377

378-
### General Notes
378+
## General Notes
379379
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.
380380

381381
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementscheduled-false.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
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.
4+
ms.date: 12/09/2025
55
ms.reviewer: zhangryan, chiragpa, shasb, ericlucier, arfallas, sachidesai, v-weizhu
66
ms.service: azure-kubernetes-fleet-manager
77
ms.custom: sap:Other issue or questions related to Fleet manager
88
---
9-
# Resource propagation failure: ClusterResourcePlacementScheduled is false
9+
# Resource propagation failure: ClusterResourcePlacementScheduled / ResourcePlacementScheduled is false
1010

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.
1212

1313
## Symptoms
1414

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`.
1616

1717
> [!NOTE]
1818
> 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:
2323

2424
- 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.
2525
- 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.
2727

2828
> [!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`.
3030
31-
## Case study
31+
## Case study: ClusterResourcePlacement
3232

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`.
3435

3536
### ClusterResourcePlacement specification
3637

@@ -214,5 +215,8 @@ status:
214215
215216
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.
216217

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+
217221
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
218222

0 commit comments

Comments
 (0)