Skip to content
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

KernelCI K8S building clusters #469

Open
3 tasks
nuclearcat opened this issue Oct 17, 2024 · 0 comments
Open
3 tasks

KernelCI K8S building clusters #469

nuclearcat opened this issue Oct 17, 2024 · 0 comments

Comments

@nuclearcat
Copy link
Member

At current moment we have single k8s cluster with up to 40 nodes capacity. This is bare minimum, but since we migrate a lot of kernel and many new people are joining we need to expand and make k8s scheduling more smarter.

Future k8s job scheduling logic can be fairly simple:

  • Pick random k8s cluster and check number of queued jobs that are not running yet (that indicates cluster is full), if it is 0 - schedule job there
  • Pick next cluster and check number of queued jobs, if it is 0 - schedule job there, if we reached first cluster - based on number of queued jobs - schedule job on cluster with less queued jobs

Action items:

  • Add more k8s clusters with inexpensive spot instances in different regions, but avoid to have egress costs between regions
  • make k8s scheduling smarter
  • forecast costs for each month based on current usage and planned growth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant