Skip to content

Conversation

agoose77
Copy link
Contributor

@agoose77 agoose77 commented Aug 4, 2025

See #6499 for context.

This PR implements a mechanism to patch the pod definition for repo2docker builds so that we can inject an ephemeral-storage request. This is intended to represent an estimate of the per-build cache usage, which would allow k8s to schedule builds on new nodes once the build cache is overpopulated.

It is assumed that the kubelet is successfully tracking the actual available space, so that at some time $t$ the scheduler can identify the case $\text{CurrentEphem}(t) + \text{RequestedEphem}(t) > \text{TotalEphem}$, and trigger a scale-up

Copy link

github-actions bot commented Aug 4, 2025

Merging this PR will trigger the following deployment actions.

Support deployments

No support upgrades will be triggered

Staging deployments

No staging hub upgrades will be triggered

Production deployments

Cloud Provider Cluster Name Hub Name Reason for Redeploy
kubeconfig projectpythia-binder binderhub Following helm chart values files were modified: binderhub.values.yaml

@agoose77 agoose77 marked this pull request as draft August 4, 2025 14:59
@agoose77 agoose77 changed the title wip: patch pod definition for build jobs wip: patch pod definition for build jobs on Pythia's JS2 BinderHub Aug 6, 2025
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.

1 participant