Skip to content

Upstream run user submission using k8s#2190

Draft
pauloguilhermepp wants to merge 60 commits intocodalab:developfrom
pauloguilhermepp:upstream_run_user_submission_using_k8s
Draft

Upstream run user submission using k8s#2190
pauloguilhermepp wants to merge 60 commits intocodalab:developfrom
pauloguilhermepp:upstream_run_user_submission_using_k8s

Conversation

@pauloguilhermepp
Copy link

@pauloguilhermepp pauloguilhermepp commented Feb 13, 2026

Run User Submissions Using Kubernetes

This PR aims to update Codabench to run user submissions using Kubernetes. The default way to run submissions is still using Docker containers.

This PR is still in progress, and we would appreciate your feedback.

Main Changes

To run submissions using Kubernetes, we mainly:

  • Added Kubernetes Python client to dependencies.
  • Updated compute_worker.py to create and delete Kubernetes pods.
  • Updated permissions granted to the compute-worker pods (rbac files).

Issues this PR resolves

How to Test it

Deploy Codabench using Kubernetes as explained at #2055.

Observations

  • This PR is a draft and should be merged after Deploy codabench using kubernetes #2055. It's already open just so that we can get your feedback.
  • This branch was created from the branch used in Deploy codabench using kubernetes #2055. After closing that PR, this branch will be rebased by pulling commits from develop and tested again.
  • Inside of compute_worker.py, CONTAINER_ENGINE defines who is running the submissions (docker, podman, or kubernetes). Its default value is "docker". The changes applied here should only affect the compute-worker if CONTAINER_ENGINE="kubernetes".

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

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.

Running User Submissions on Kubernetes

1 participant