Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a helm implementation for the latest version of Judge0 with support for HPA #420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AayushbajajCAW
Copy link

@AayushbajajCAW AayushbajajCAW commented May 31, 2023

I have added a helm chart implementation for Judge0 under helm-> charts->judge0-latest, to make it easier to deploy it on kubernetes clusters .

@darthcircuit
Copy link

I deployed this to my cluster and it works great. thank you for making this!

I enabled the built in postgresql server for my cluster, and i had to update the cgroup settings in grub on all my worker nodes but i was able to pair it with the IDE and get the ingress working perfectly.

@AayushbajajCAW
Copy link
Author

It's great to hear it works, any suggestions and changes are greatly appreciated 👍

@AayushbajajCAW
Copy link
Author

Hey @darthcircuit Could you elaborate on which setting you had to change for the cgroups? It would be much appreciated.

@darthcircuit
Copy link

It's not a problem with your chart :)

All of my nodes are running Ubuntu 22.10 and k3s 1.25, and by default cgroups v2 are enabled. I found that judge didn't support v2 so I created an ansible playbook that would drain and cordon each worker, set a kernel flag in grub, update the config and reboot each of my worker nodes one at a time so that code compilation would work on my cluster.

#356

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.

None yet

2 participants