-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduler should be location aware #279
Comments
I appears this task needs to be revisited in more detail. I stumbled across multiple issues while working on this issue. Currently workload defines resources by "Name", and the only property it uses is a "Secret Name" value, which is if not provided derived from the resource name, i.e. the workload does not retrieve the actual resource nor the resource properties. Hence, there is really nothing to go by to create/maintain the affinity between the KubernetesCluster and the resources. It is also by design, that we do not expose ResourceClaim details such as Provider or Region into application developer scope (the separation of concerns). Hence the application developer who is creating a workload is not (or should not be) aware of the concrete resources details such as Cloud Provider, Region, etc. Thus, using cluster selector or affinity by the application developer will be problematic. I think we should revisit this issue when we will work on more advanced (topology aware) workload scheduler. |
These older issues that use the term "workload" may have implied the This form of scheduling should extend beyond the One potential outcome of this could be that a scaling group (perhaps using the For example, if a resource has a scale of five, that could drive a Should this be handled through some form of template value mapping, keyed by the index of the current unit in the scale? Should a form of Region or Scaling Policy determine how a scaling factor is applied to a particular resource or all matching resources? A Region Policy may fit well with an abstract Region type (#340). |
We're deprecating KubernetesApplication (neé Workload) so I don't believe this issue will be relevant going forward. |
aws_session_token key should be used when credentials are parsed
The workload scheduler will need to optimize across many different attributes in the long term, but a good first step would be location: cloud provider, cluster, region, etc. For example, when this initial implementation is completed, a workload should be able to be scheduled in the same "location" as its resources. More design to be fleshed out in #278.
The text was updated successfully, but these errors were encountered: