azure/vscode-aks-tools/kickstart-deploy

Claude Code and agent skill by azure/vscode-aks-tools

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy phase playbook — build, push, apply with Azure CLI and kubectl.

Install

npx vskill@latest install azure/vscode-aks-tools/kickstart-deploy

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as azure/vscode-aks-tools/kickstart-deploy.

Deploy Phase

Deploy using Azure CLI and kubectl. Execute each step via run_in_terminal, confirm between steps with vscode_askQuestions. Never auto-deploy.

Steps

  1. Build and push: az acr build --registry <acr> --image <image>:<tag> -f <dockerfilePath> <buildContext>

Prefer az acr build over docker build + docker push. It runs on ACR's remote task builders, avoids a local Docker daemon dependency, and keeps the pushed digest and deployed image on one build path. Use the build context and Dockerfile path from the structure map — never assume repo root (.). For monorepos, build each service from its own context. Tag with a version (e.g. v1.0.0), never :latest. Requires the ACR build and push permissions verified in Generate and Pre-Deploy. Make sure .dockerignore excludes bulk because the whole context is uploaded on each build. Third-party images the app depends on (Redis, Postgres, RabbitMQ) can't be az acr build-ed — bring them in with az acr import --name <acr> --source docker.io/library/<img>:<tag> --image <img>:<tag>.

  1. Get credentials: az aks get-credentials --resource-group <rg> --name <cluster> --overwrite-existing

kubelogin handles AAD auth automatically (verified in Pre-Deploy Check). Never use --admin.

  1. Apply manifests: preview with kubectl apply --dry-run=server -f k8s/, then kubectl apply -f k8s/.

Expect mutation: AKS Automatic's Deployment Safeguards rewrite on admission — missing CPU/memory requests get defaults and missing spread rules get anti-affinity/topology constraints. If Phase 4 generated compliant manifests these are no-ops; if kubectl get -o yaml differs from your file, inspect the safeguard mutation before treating it as a bug.

  1. Verify: kubectl get pods -n <namespace> and kubectl get services -n <namespace>

If pods not Ready, run kubectl describe pod <name> and kubectl logs <name> to diagnose.

  1. Health-check the running app: don't declare success on pod readiness alone — actually hit the app and compare against the expected response:
  • Via the gateway/service URL from kubectl get httproute / kubectl get services: curl -sS -o /dev/null -w "%{http_code}" http://<url>/ (expect 2xx/3xx).
  • Or in-cluster: kubectl exec <pod> -n <namespace> -- curl -sS localhost:<port>/<health-path>.

If the response isn't what the app should return (wrong status, error body, or logs show a missing entry point), classify as a cluster failure and diagnose before reporting success.

Error Handling

Classify failures:

  • auth — Azure/registry authentication, RBAC, OIDC, kubeconfig
  • config — missing or invalid configuration (subscription, RG, cluster, ACR, manifest)
  • dependency — missing CLI tool, extension, or container image
  • cluster — pod CrashLoopBackOff, ImagePullBackOff, scheduling, quota
  • safeguard — admission rejected by a Deployment Safeguard (e.g. :latest tag, non-CSI StorageClass, duplicate Service selector, AKS-reserved label, node edit). Fix the manifest to satisfy the rule; never disable the policy.

Provide specific az or kubectl fix commands. Offer retry via vscode_askQuestions.

Post-Deployment

  • Confirm the app actually responds at its external IP / gateway URL (the health-check above) — not just that the service has an address.
  • Check Azure Monitor dashboards (managed Prometheus + Grafana auto-enabled).
  • Set up alerts: CPU >80%, memory >85%, pod restarts >5.

Only mention GitHub Actions if the user asks about CI/CD.

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
65
Repository forks
76
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/azure/vscode-aks-tools/kickstart-deploy/badge)](https://verified-skill.com/skills/azure/vscode-aks-tools/kickstart-deploy)

Something wrong with this skill or its page? Tell us.