TESK
Task Execution Service for Kubernetes
An implementation of the GA4GH Task Execution Service (TES) API that runs containerized tasks on any Kubernetes cluster.
- Implements the GA4GH Task Execution Service (TES) API
- Translates TES tasks into Kubernetes batch jobs
- Designed to support any Kubernetes cluster
Details
TESK is a task execution engine based on the GA4GH TES standard that runs on Kubernetes. It exposes the TES endpoints, validates incoming task requests and translates them into Kubernetes batch jobs, so tasks run on any standard Kubernetes cluster. It can also stage task inputs and outputs and integrate with workflow managers.
Who it's for
- Admins deploying a TES endpoint
- Workflow-manager integrators
All features
- Implements the GA4GH Task Execution Service (TES) API
- Translates TES tasks into Kubernetes batch jobs
- Designed to support any Kubernetes cluster
- Handles task inputs and outputs using temporary persistent volume claims (PVCs) as scratch space
- Integrates with workflow managers via an FTP account or an accessible PVC
- Each task gets its own taskmaster, PVC and executor pods; only the API pod is shared across tasks
How it works
- The API pod (Tomcat web server) receives and validates TES requests and turns them into Kubernetes jobs.
- The API pod creates a taskmaster pod for each task.
- The taskmaster starts a filer pod that creates a PVC as scratch space and downloads input files into the locations given in the TES request.
- The taskmaster runs the executors as pods, one after the other.
- The filer runs once more to push outputs to remote locations; then the PVC is scrubbed and deleted and the task completes.
Requirements
- A working Kubernetes cluster, version 1.9 or later
- A default storage class supporting RWO mode (needed for tasks with I/O)
- An FTP account or an accessible PVC (only for workflow-manager integration)
Deployment
- Kubernetes (Helm chart in charts/tesk)
Alex Kanitz
alexander.kanitz@unibas.ch
