Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Doesn't validate the existing nodes have enough resources #15

Open
vaibhavkhurana2018 opened this issue Jun 14, 2023 · 1 comment
Open

Comments

@vaibhavkhurana2018
Copy link

While calculating for a better node it doesn't account for the allocatable resources on the node. So if the resources are not available on the existing nodes it will go on an infinite loop as the pods won't be fitting in the nodes and will be rescheduled by the k8s scheduler back on the current nodes.

@vaibhavkhurana2018
Copy link
Author

From my understanding if we can filter the preferred nodes with PodFitsResources(https://pkg.go.dev/knative.dev/eventing/pkg/scheduler/plugins/core/podfitsresources#pkg-types) filter and then take the decision to evict the pods, should be a good start on solving the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant