internal: Remove legacy Kubernetes runtime #619
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 267 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.334
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #619"
general
weight: 0.35
lcopi
Description
Remove the built-in Kubernetes deployment runtime, including its adapter, materialization logic, supporting internal packages, and default registration. Runtime and Deployment remain extension APIs, and embedding applications now supply all concrete runtime types and adapters.
The legacy adapter was fundamentally flawed: it managed Kubernetes custom resources directly instead of integrating with kagent through its REST API. Retiring it establishes a clean boundary for runtime ownership rather than extending that coupling.
Add migration 014 to remove
default/kubernetes-defaultonly when it still exactly matches the original seed and no Deployment references it. Modified or referenced rows remain as inert records so upgrades do not leave dangling database references.Update the deployment dialog to require an explicit Runtime name and stop injecting the kagent-specific
KAGENT_NAMESPACEenvironment variable. Runtime-specific tests and the Kubernetes deployment lifecycle e2e coverage are removed or converted to provider-neutral fixtures.Change Type
/kind breaking_change
Changelog
``
release-note
`Removes the legacy Kubernetes runtime.
Additional Notes
discriminator remains available for source compatibility, but the registry no longer registers the type or supplies its adapter.rows are preserved to avoid dangling database references, but they remain inert until their deployments are migrated., migration upgrade/rollback integration tests, e2e-tag compilation, UI unit tests, the production UI build, and lint. Lint reports one pre-existing warning inui/app/page.tsx` and no errors.