judge0

by saikatharryc

Helm chartv1.0.12App 1.5.0

Helm implementation of Judge0 | Free,robust and scalable open-source online code execution system.

About this chart

judge0

Helm implementation of Judge0 | Free ,robust and scalable open-source online code execution system.

Current chart version is 1.0.0

Source code can be found here

Chart Requirements

RepositoryNameVersion
https://kubernetes-charts.storage.googleapis.com/postgresql7.7.2
https://kubernetes-charts.storage.googleapis.com/redis10.2.0

Chart Values

KeyTypeDefaultDescription
COUNTint3
MAINTENANCE_MODEboolfalse
RAILS_MAX_THREADSint10
external.postgresql.hoststring"localhost"
external.postgresql.portint5432
external.postgresql.postgresqlDatabasestring"judge"
external.postgresql.postgresqlPasswordstring""
external.postgresql.postgresqlUsernamestring"judge"
external.redis.hoststring"localhost"
external.redis.passwordstring""
external.redis.portint6379
image.registrystring"docker.io"
image.repositorystring"judge0/api"
image.tagstring"1.5.0"
postgresql.enabledbooltrue
postgresql.image.tagfloat9.6
postgresql.postgresqlDatabasestring"judge"
postgresql.postgresqlPasswordstring"uaeyjbzuyq"
postgresql.postgresqlUsernamestring"judgemaster"
redis.cluster.enabledboolfalse
redis.enabledbooltrue
redis.passwordstring"a8iuw23iuizy"
service.annotationsstringnil
service.externalTrafficPolicystring"Cluster"
service.nodePorts.httpstring""
service.portint80
service.typestring"LoadBalancer"

Deploy judge0 with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has judge0 on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartjudge0 is pinned at v1.0.12 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply