Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Pod Field Compatibility

Pod Field Compatibility

Reaper implements the Kubernetes Pod API but ignores or doesn’t support certain container-specific fields since it runs processes directly on the host without traditional container isolation.

Field Reference

Pod FieldBehavior
spec.containers[].imageIgnored by Reaper — Kubelet pulls the image before the runtime runs, so a valid image is required. Use a lightweight image like busybox. Reaper does not use it.
spec.containers[].resources.limitsIgnored — No cgroup enforcement; processes use host resources.
spec.containers[].resources.requestsIgnored — Scheduling hints not used.
spec.containers[].volumeMountsSupported — Bind mounts for ConfigMap, Secret, hostPath, emptyDir.
spec.containers[].securityContext.capabilitiesIgnored — Processes run with host-level capabilities.
spec.containers[].livenessProbeIgnored — No health checking.
spec.containers[].readinessProbeIgnored — No readiness checks.
spec.containers[].commandSupported — Program path on host (must exist).
spec.containers[].argsSupported — Arguments to the command.
spec.containers[].envSupported — Environment variables.
spec.containers[].workingDirSupported — Working directory for the process.
spec.runtimeClassNameRequired — Must be set to reaper-v2.

Best Practice

Use a small, valid image like busybox. Kubelet pulls the image before handing off to the runtime, so the image must exist in a registry. Reaper itself ignores the image entirely — it runs the command directly on the host.

Supported Features Summary

FeatureStatus
command / argsSupported
env / envFromSupported
volumeMounts (ConfigMap, Secret, hostPath, emptyDir)Supported
workingDirSupported
securityContext.runAsUser / runAsGroupSupported
restartPolicySupported (by kubelet)
runtimeClassNameRequired (reaper-v2)
Resource limits/requestsIgnored
Probes (liveness, readiness, startup)Ignored
CapabilitiesIgnored
Image pullingHandled by kubelet, ignored by Reaper