This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
Replica count of federated deployment is not updated by RSP plugin #1087
Labels
kind/bug
Categorizes issue or PR as related to a bug.
What happened:
After creating a ReplicaSchedulingPreference targeting a FederatedDeployment, cluster overrides for spec.replicas field of FederatedDeployment are not updated. I can see in debug log of ReplicaScheduler that replica counts are calculated correctly however FederatedDeployment is not updated.
What you expected to happen:
FederatedDeployment is updated with latest overrides per cluster.
How to reproduce it (as minimally and precisely as possible):
Create a ReplicaSchedulingPreference targeting a FederatedDeployment.
Anything else we need to know?:
It seems that the problem is in schedulingtypes.updateOverridesMap function, where overrides in the map are only updated locally in stack.
Environment:
/kind bug
The text was updated successfully, but these errors were encountered: