agentleFS
Microsoft AzureKnown publisherAzure/kars/.github/skills/kars-deployment/SKILL.md

kars-deployment

Skill44 starsChanged 6 months agoMITView on GitHub

Kars deployment and infrastructure skill — how to deploy, build images, manage AKS, and troubleshoot.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    DO NOT set image env vars manually — use defaults

    line 43
  2. Very specific:

    Pod stuck Pending: Check node pool capacity (kubectl describe pod)

    line 56
  3. Very specific:

    Controller not reconciling: Check CRD (kubectl get karssandbox -A) and controller logs

    line 58
  4. Distinctive:

    Relay auth fails: Check the AGT relay token secret and relay logs

    line 59
  5. Distinctive:

    Registry 401 on prekey upload: Check AGT registry auth configuration and pod identity

    line 60
  6. Very specific:

    Old image cached on AKS: Use imagePullPolicy: Always for :latest tags

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kars Deployment & Infrastructure

Quick Start

# 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)

ImageSourcePurpose
openclaw-sandbox:latestsandbox-images/openclaw/DockerfileAgent container (OpenClaw + Kars mesh plugin)
kars-inference-router:latestinference-router/DockerfilePer-pod proxy (AOAI, relay/registry, native AGT governance)
kars-controller:latestcontroller/DockerfileK8s controller (CRD reconciler)
agentmesh-relay-agt:latestMicrosoft AGT AgentMesh imageWebSocket relay server
agentmesh-registry-agt:latestMicrosoft AGT AgentMesh imageAgent discovery + prekey storage

AKS Namespaces

NamespacePurpose
kars-systemController + CRDs
agentmeshRelay + Registry + PostgreSQL
kars-foundry-testParent 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

# 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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.