-
Notifications
You must be signed in to change notification settings - Fork 116
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Hi, I'm working on building a multi-cluster autoscaler.
One idea is to create custom resources on top of ManifestWork, like Deployment for Pod, and scale the replicas of it.
I intend to have the custom resource controller generate name-[UUID] ManifestWorks.
The problem with building a multi-cluster autoscaler based on the above idea is that the Placement API doesn't allow multiple ManifestWork assignments to the same cluster.
If there are cluster-1 and cluster-2, and numberOfClusters is 3, the PlacementDecision would be as follows.
status:
decisions:
- clusterName: cluster-1
reason: ""
- clusterName: cluster-2
reason: ""Are there any plans to add numberOfResources param, for example, in the future to allow for it?
In that case, the PlacementDecision would be as follows.
status:
decisions:
- clusterName: cluster-1
resources: 2
reason: ""
- clusterName: cluster-2
resources: 1
reason: ""If that is not planned, I would build a custom scheduler.