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

DevFeed: [How we replaced the default K8s scheduler to optimize our Continuous Integration builds](<https://devfeed.tech/articles/how-we-replaced-the-default-k8s-scheduler-to-optimize-our-continuous-integration-builds-17678.md>)

Original publisher: [Read original article](<https://codefresh.io/blog/custom-k8s-scheduler-continuous-integration/>)

Author: Vadim Gusev

Published: 2025-07-07T11:57:20Z

Content type: article

Language: en

Sources: [Codefresh](<https://devfeed.tech/sources/codefresh.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [ci](<https://devfeed.tech/topics/ci.md>)

Tags: [clusters](<https://devfeed.tech/tags/clusters.md>), [codefresh](<https://devfeed.tech/tags/codefresh.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [devops](<https://devfeed.tech/tags/devops.md>), [glossary](<https://devfeed.tech/tags/glossary.md>), [k8s](<https://devfeed.tech/tags/k8s.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [product-and-tools](<https://devfeed.tech/tags/product-and-tools.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>)

## AI overview

Codefresh describes replacing the default Kubernetes scheduler for clusters running ephemeral Continuous Integration pipelines. The article explains how this workload differed from long-running applications and motivated a different approach to Kubernetes scheduling.

## Source excerpt

The default Kubernetes scheduler works great when your cluster is destined for long running applications. At Codefresh we use our Kubernetes clusters for running Continuous Integration pipelines which means our workloads are ephemeral (they are discarded when a pipeline has finished). This allowed us to look at the Kubernetes scheduler from a different perspective and [...] The post How we replaced the default K8s scheduler to optimize our Continuous Integration builds appeared first on Codefresh.