Function Evaluation
Detailed architecture of function evaluation strategies and execution patterns.
The Function Runner provides executable evaluation of cached KRM function binaries (exec_path). Pod lifecycle and image/registry management moved to the Engine; the pages below still describe those areas and now live under Engine.
Executes KRM functions through pluggable evaluator strategies:
binaryExecutor; the Engine sends exec_path on the gRPC requestFor detailed architecture and process flows, see Function Evaluation.
Manages function execution pods with caching and garbage collection:
For detailed architecture and process flows, see Pod Lifecycle Management.
Caches image metadata and handles private registry authentication:
For detailed architecture and process flows, see Image and Registry Management.
┌─────────────────────────────────────────────────────────┐
│ Function Runner Service │
│ │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ Function │ │ Pod │ │
│ │ Evaluation │ ───> │ Lifecycle │ │
│ │ │ │ Management │ │
│ │ • Evaluator │ │ │ │
│ │ Selection │ │ • Pod Cache │ │
│ │ • Exec/Pod │ │ • Pod Manager │ │
│ │ Fallback │ │ • GC/TTL │ │
│ │ • Wrapper │ │ • Service Mgmt │ │
│ │ Server │ │ │ │
│ └──────────────────┘ └──────────────────┘ │
│ │ │ │
│ └────────┬────────────────┘ │
│ ↓ │
│ ┌──────────────────┐ │
│ │ Image & │ │
│ │ Registry │ │
│ │ Management │ │
│ │ │ │
│ │ • Metadata │ │
│ │ Cache │ │
│ │ • Registry │ │
│ │ Auth │ │
│ │ • TLS Config │ │
│ │ • Pull Secrets │ │
│ └──────────────────┘ │
└─────────────────────────────────────────────────────────┘
Integration flow:
Each functional area is documented in detail on its own page with architecture diagrams, process flows, and implementation specifics.
Detailed architecture of function evaluation strategies and execution patterns.