kars-deployment
Azure/kars/.github/skills/kars-deployment/SKILL.md
Kars deployment and infrastructure skill — how to deploy, build images, manage AKS, and troubleshoot.
Skill44 starsChanged 3 months ago
What's in it
- Kars Deployment & Infrastructure
- Quick Start
- Image Registry (ACR: karsacr)
- AKS Namespaces
- Controller
- AgentMesh Infrastructure
- Troubleshooting
--- description: "Kars deployment and infrastructure skill — how to deploy, build images, manage AKS, and troubleshoot." --- # Kars Deployment & Infrastructure ## Quick Start ```bash # Login to Azure and ACR az login az acr login --name karsacr # Build all images make build-all # or manually: docker build --platform linux/amd64 -f sandbox-images/openclaw/Dockerfile -t karsacr.azurecr.io/openclaw-sandbox:latest . docker push karsacr.azurecr.io/openclaw-sandbox:latest # Deploy to AKS kars up --resource-group <rg> --isolation confidential ``` ## Image Registry (ACR: karsacr) | Image | Source | Purpose | |-------|--------|---------| | `openclaw-sandbox:latest` | `sandbox-images/openclaw/Dockerfile` | Agent container (OpenClaw + Kars mesh plugin) | | `kars-inference-router:latest` | `inference-router/Dockerfile` | Per-pod proxy (AOAI, relay/registry, native AGT governance) | | `kars-controller:latest` | `controller/Dockerfile` | K8s controller (CRD reconciler) | | `agentmesh-relay-agt:latest` | Microsoft AGT AgentMesh image | WebSocket relay server | | `agentmesh-registry-agt:latest` | Microsoft AGT AgentMesh image | Agent discovery + prekey storage | ## AKS Namespaces | Namespace | Purpose | |-----------|---------| | `kars-system` | Controller + CRDs | | `agentmesh` | Relay + Registry + PostgreSQL | | `kars-foundry-test` | Parent sandbox (persistent) | | `kars-<name>` | Spawned sub-agent sandboxes (ephemeral) | ## Controller - Watches `KarsSandbox` CRDs in `kars-system` - Creates namespace, deployment, service, networkpolicy for each sandbox - Defaults: `SANDBOX_IMAGE=openclaw-sandbox:latest`, `INFERENCE_ROUTER_IMAGE=inference-router:latest` - DO NOT set image env vars manually — use defaults ## AgentMesh Infrastructure ```bash # Deploy Microsoft AGT AgentMesh (relay + registry + postgres) kubectl apply -f deploy/agentmesh-agt.yaml # Verify kubectl get pods -n agentmesh # Should show: postgres, registry, relay — all Running ``` ## Troubleshooting - **Pod stuck Pending**: Check node pool capacity (`kubectl describe pod`) - **ImagePullBackOff**: ACR auth issue (`az acr login --name karsacr`) - **Controller not reconciling**: Check CRD (`kubectl get karssandbox -A`) and controller logs - **Relay auth fails**: Check the AGT relay token secret and relay logs - **Registry 401 on prekey upload**: Check AGT registry auth configuration and pod identity - **Old image cached on AKS**: Use `imagePullPolicy: Always` for `:latest` tags
More agent context in Azure/kars
14 other files this repository gives its agents.
Copilot instructions
llms.txt
Skill
- agt-e2e-encryption.github/skills/agt-e2e-encryption/SKILL.md
- mesh-federationmesh-plugin/skills/mesh-federation/SKILL.md
- agt-governanceruntimes/openclaw/skills/agt-governance/SKILL.md
- foundry-agentsruntimes/openclaw/skills/foundry-agents/SKILL.md
- foundry-coderuntimes/openclaw/skills/foundry-code/SKILL.md
- foundry-conversationsruntimes/openclaw/skills/foundry-conversations/SKILL.md
- foundry-deploymentsruntimes/openclaw/skills/foundry-deployments/SKILL.md
- foundry-evaluationsruntimes/openclaw/skills/foundry-evaluations/SKILL.md
- foundry-knowledgeruntimes/openclaw/skills/foundry-knowledge/SKILL.md
- foundry-memoryruntimes/openclaw/skills/foundry-memory/SKILL.md
- foundry-web-searchruntimes/openclaw/skills/foundry-web-search/SKILL.md
- kars-spawnruntimes/openclaw/skills/kars-spawn/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

