Skip to content

Homebrew build kube-scheduler when building kube-scheduler container image#152

Open
hippogr wants to merge 3 commits intodevfrom
ruigao/experimental-kube-scheduler-homebrew
Open

Homebrew build kube-scheduler when building kube-scheduler container image#152
hippogr wants to merge 3 commits intodevfrom
ruigao/experimental-kube-scheduler-homebrew

Conversation

@hippogr
Copy link
Contributor

@hippogr hippogr commented Feb 25, 2026

Homebrew build kube-scheduler when building kube-scheduler container image

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request modifies the kube-scheduler Dockerfile to build kube-scheduler from source instead of using the official pre-built image from registry.k8s.io. The change introduces a multi-stage build that clones the Kubernetes repository, compiles kube-scheduler, and packages it into a minimal runtime image.

Changes:

  • Replaced direct use of pre-built kube-scheduler image (v1.33.1) with a custom multi-stage build
  • Added builder stage using golang:1.25.7 to compile kube-scheduler from Kubernetes v1.35.0 source
  • Added final stage using go-runner base image to package the compiled binary

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Successfully merging this pull request may close these issues.

2 participants