Container Runtime
The Container runtime enables launching pods, jobs and services on Kubernetes. It registers Function kind container and supports various actions for containerized workloads including jobs, services and builds.
container: Execute containerized workloads on Kubernetes
Prerequisites
Supported Python versions:
- Python ≥ 3.9, < 3.13
Required packages:
digitalhub-runtime-container
Install from PyPI:
Usage overview
To execute container workloads on the platform:
- Prepare your container image or build instructions.
- Create a
Functionresource that references your container configuration. - Call
function.run()to execute the container workload.
See how to for detailed instructions on which actions you can execute and how to configure your container workloads. See Examples for code samples.