feat(helm): support existing Kubernetes clusters - #543
feat(helm): support existing Kubernetes clusters#543Pal Lakatos-Toth (pallakatos) wants to merge 10 commits into
Conversation
Add an opt-in generic Kubernetes values profile, portable sandbox node selection, conditional Azure Workload Identity metadata, Helm render coverage, and installation guidance without changing AKS defaults. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Deploy the published Microsoft AGT relay and registry from the generic Helm profile while keeping the component disabled by default for existing CLI and AKS flows that already manage AgentMesh separately. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
|
Follow-up from review of the Helm contract:
|
Verify an existing Kars Helm release and CRD, then persist the explicit AKS, subscription, and ACR metadata required by upgrade, push, mesh, and advanced add flows without mutating infrastructure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
|
Existing-AKS /
|
Allow cluster-aware commands to proceed with an explicit --context even when kubeconfig has no global current-context, preserving safe targeting for Helm-installed clusters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
|
|
Document Helm-managed AgentMesh and CRDs, existing AKS adoption, operator kube-context discovery, and the distinction between Kubernetes-facing and Azure lifecycle commands. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
|
Documentation is now updated on head
The PR remains draft while CI runs on the latest documentation/code head. |
Provide a render-tested values file mirroring the Helm contract emitted by kars up, including images, Foundry, identity, federated credentials, Key Vault, AgentMesh, and release metadata. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
Require an exact common release stamp and document ACR image import, AcrPull, Workload Identity, Foundry, Key Vault, networking, and node prerequisites for a successful manual AKS install. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
|
Added a checked-in, render-tested It covers:
The docs now require importing the referenced images into ACR, granting AKS kubelet |
Make the existing-AKS template pull verified ghcr.io/azure images by default and make ACR metadata optional during CLI adoption unless private mirroring, push, or ACR-based upgrade is required. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
|
Corrected the existing-AKS template on head |
Keep high-severity npm audit blocking while avoiding invalid installed-tree errors from the OpenClaw local file dependency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
Audit dependency lockfiles through npm's supported bulk endpoint with bounded retries and fail-closed high/critical handling, replacing the retired quick-audit endpoint. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb3654cd-f1e0-445a-8734-430800af1903
Summary
values-generic.yamlprofile for existing non-AKS Kubernetes clustersImages
The generic profile uses the image names produced by the public release workflow:
ghcr.io/azure/kars-controller:latestghcr.io/azure/kars-inference-router:latestghcr.io/azure/openclaw-sandbox:latestghcr.io/azure/kars-agentmesh-relay:latestghcr.io/azure/kars-agentmesh-registry:latestAll five published manifests were verified directly.
AgentMesh ownership
agentMesh.enableddefaults tofalseso existingkars upandkars devflows continue managing AgentMesh separately without duplicate Helm ownership.values-generic.yamlenables it, producing theagentmeshnamespace, relay/registry Deployments, and the stableagentmesh-relay:8765/agentmesh-registry:8080Services expected by Kars routers and runtimes. Operators with an external AgentMesh deployment can setagentMesh.enabled=false.CRDs
The chart renders and installs every Kars
CustomResourceDefinitionincluded in that chart version. The current public base renders 12 CRDs; later stacked API PRs add their CRD templates to the same Helm lifecycle.Backward compatibility
The default values remain AKS-first.
sandbox.nodeSelectordefaults to{}, which resolves to the existingkars.azure.com/pool=<isolation pool>selector.azure.workloadIdentity.enabledremainstrue, so existing AKS installs retain current identity metadata. AgentMesh remains disabled in default values because existing CLI flows already deploy it.Validation
cargo test --package kars-controller: 860 passedcargo clippy --all-targets --all-features -- -D warnings: passedcargo fmt --all -- --check: passedThis is PR 1 of the ordered Kars-Bridge publicization stack and contains no Bridge orchestration, inference, or runtime API changes.