Function Evaluation
Detailed architecture of function evaluation strategies and execution patterns.
The Function Runner provides four core functional areas that work together to execute KRM functions in isolated environments:
Executes KRM functions through pluggable evaluator strategies:
For detailed architecture and process flows, see Function Evaluation.
Provides declarative configuration of function executors through Kubernetes CRDs:
For detailed configuration examples, see Function Runner Configuration.
For integration with executor selection, see Function Runner Interactions.
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 │ │
│ │ Configuration │ │
│ │ Management │ │
│ │ │ │
│ │ • FunctionConfig │ │
│ │ Reconciler │ │
│ │ • Executor Cache │ │
│ │ • Image Prefix │ │
│ │ Matching │ │
│ └──────────────────┘ │
│ │ │
│ ┌────────────┴─────────────┐ │
│ ↓ ↓ │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ 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.
Detailed architecture of pod cache management, lifecycle operations, and garbage collection.
Detailed architecture of image metadata caching, registry authentication, and secret management.