Browser IDEs for students on Kubernetes: start in seconds, keep the files, only the owner gets in.
This control plane replaces EduIDE-Cloud from EduIDE 3.0.0 on.
A student clicks a programming exercise in Artemis or picks a language on the landing page. A few seconds later an EduIDE opens in the browser, with the exercise cloned and git set up.
- Fast: pools of prewarmed IDEs answer a launch in about 30 ms; a cold start takes 2 to 5 seconds.
- Saved or temporary: a workspace keeps the files across sessions; a temporary session starts from scratch.
- Private: the gateway lets only the owner into a session, and an idle session ends by itself.
- Observable: every launch is one trace from the click to the usable IDE; metrics, alerts and a Grafana dashboard come with the chart.
flowchart TB
S([Student]) -->|HTTPS| GW[Envoy Gateway<br/>OIDC + ext_authz]
A([Artemis]) -.->|deep link| LP
GW -.->|login| KC[Keycloak]
GW --> LP[landing page]
GW -->|/api/v1| SVC[service]
GW -->|owner?| AZ[authz]
GW -->|instance token| AG
SVC --> K[(Kubernetes API)]
OP[operator] --> K
SC[pool scaler] --> K
OP -->|claim, launch data| AG
subgraph Pod[session pod]
AG[agent] --> IDE[EduIDE]
end
| Component | Role |
|---|---|
| operator | Reconciles the custom resources IDETemplate, IDEPool, IDESession and IDEWorkspace; claims prewarmed instances, enforces timeouts and capacity |
| service | REST API /api/v1 for the landing page, with OIDC, launch validation and live updates over Server-Sent Events |
| authz | Envoy ext_authz: only the owner of a Ready session reaches its IDE |
| agent | Sidecar in every session pod: checks the instance token, holds the launch data, reports activity |
| pool scaler | Sets how many idle IDEs each pool keeps warm |
| landing page | Launch page, overview of sessions and workspaces, status page, admin panel |
Subsystems, their components and the services they provide and require.
Where everything runs: browser, Keycloak, Artemis, the Envoy Gateway and the pods of one deployment namespace.
More: architecture overview, start path, session access, the object model, how to edit the diagrams, and the architecture decisions.
Two Helm charts from oci://ghcr.io/eduide/eduide-control-plane/charts:
eduide-control-plane-crdsonce per cluster.eduide-control-plane(andeduide-landing-page) once per deployment namespace.
Needs Kubernetes with Gateway API, Envoy Gateway v1.8 or newer, cert-manager, a CNI that enforces NetworkPolicies and a Keycloak realm.
The install guide lists every value and secret.
Images: ghcr.io/eduide/eduide-control-plane/{operator,service,authz,agent,pool-scaler,landing-page}.
You need Go 1.27, Node.js LTS, Docker, kind, kubectl, helm and golangci-lint (full list).
git clone https://github.com/EduIDE/EduIDE-control-plane.git
cd EduIDE-control-plane
make generate # code from the contracts in api/
make build
make test # unit, envtest and TypeScript tests
make lint| Path | Content |
|---|---|
api/ |
The contracts: CRD types, REST API (openapi/v1.yaml), agent protocol |
cmd/, internal/ |
The four Go binaries and their packages |
pool-scaler/, landing-page/, extensions/eduide-session/ |
Pool scaler, landing page, IDE extension |
charts/ |
Helm charts |
test/e2e/ |
End-to-end tests on kind |
docs/ |
Architecture, ADRs, contracts, operations, development |
AGENTS.md has the full layout, the commands and the rules; coding agents read it too.
- Contracts first. API and CRD changes are additive within a version and start in
api/. Runmake generateafterwards and never edit generated files (*.gen.go,zz_generated*.go,config/,schema.gen.ts). - Tests come with the change. Table-driven unit tests, envtest for controllers,
make e2efor anything on the request path (testing guide). - Never hit a real cluster by accident. Local cluster commands use the kind kubeconfig:
export KUBECONFIG=$(pwd)/.e2e/kubeconfig, then check that the server is127.0.0.1. Your default kube context may be production. - No user data where it does not belong. Tokens and launch data never go into CR specs, logs, traces, metrics or status.
- No university-specific defaults. Hosts, realms and node labels live in deployment values, not in this repository.
- Decisions get an ADR. Anything beyond an additive change needs a record in docs/adr.
- Words. Template, Pool, Instance, Session, Workspace, Claim, Release, launch data. Docs are English, active voice, present tense.
make e2e # kind cluster with Envoy Gateway, Calico, Keycloak; full matrix and browser tests
make e2e-down # remove the clusterEG_VERSION=v1.10.0 make e2e runs the suite against another Envoy Gateway version.
Branch from main, keep the change focused, and describe what you tested.
CI runs lint, tests, generated-code and contract checks, image builds and Trivy; a pull request also builds images tagged pr-<number> that you can deploy to a test environment.
Releases follow docs/development/release.md.
