Home / Companies / Codefresh / Blog / Post Details
Content Deep Dive

How we replaced the default K8s scheduler to optimize our Continuous Integration builds

Blog post from Codefresh

Post Details
Company
Date Published
Author
Vadim Gusev
Word Count
2,014
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

Codefresh has developed a custom Kubernetes scheduler to optimize the performance and cost-efficiency of running Continuous Integration (CI) pipelines on their platform, as the default Kubernetes scheduler is not suited for ephemeral workloads typical of CI/CD processes. The solution involves creating "ballast" pods with low priority that get evicted to make room for actual build pods, enabling immediate start times and minimizing user frustration. Additionally, Codefresh designed a scheduler to tightly pack job-like workloads on nodes, allowing for efficient resource utilization and reducing cloud costs by preventing nodes from running half-empty. This custom approach, utilizing Kubernetes' inherent scheduling mechanisms, has significantly enhanced the speed and cost-effectiveness of Codefresh builds, providing a superior user experience.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 12 1,602 228 83 -1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.