implementation
Implementing Pyvorin on Kubernetes
Sidecar cache, init containers, and Helm charts.
Published May 30, 2026
Init Containers
Pre-compile hot functions in an init container before the main app starts.
initContainers:
- name: pyvorin-compile
image: myapp:latest
command: ["pyvorin", "compile", "app.py", "--function", "handler"]
Shared Cache Volume
Mount an emptyDir volume at /root/.pyvorin/cache shared between containers.
Helm Chart
Include Pyvorin compilation as a Helm pre-install hook.