Deployment target¶
Distributed system running on Kubernetes. The production target is OpenShift, but schedr integrates with plain Kubernetes only: no OpenShift-specific APIs or resources.
A single master process (one pod) and long-running worker pods. Master high availability is not needed for now.
No pod-per-task execution. It isn’t planned and probably never will be: too much overhead, and schedr can’t count on permission to create pods. Tasks run as processes inside the long-running worker pods.
Architecture: see Architecture below.
Constraints that follow¶
Minimal Kubernetes permissions. schedr must not need to create pods or hold cluster-wide permissions; ideally it doesn’t call the Kubernetes API at all.
Images must run under an arbitrary UID (OpenShift’s default restricted security policy; also good practice on plain Kubernetes): no fixed user, writable paths group-owned by root (group 0).