Skip to content
Back to skills

Azure Kubernetes App Deploy

ASecurity

Use when deploying an existing web application or API to an already-running Azure Kubernetes Service cluster. Detects the framework, generates a Dockerfile and Kubernetes manifests, validates against AKS Deployment Safeguards, and deploys with verification. WHEN: deploy app to AKS, deploy to existing AKS cluster, containerize app for Kubernetes, generate K8s manifests for Azure, set up CI/CD for AKS, my AKS deployment is failing safeguard checks, I have a Django/Express/Spring Boot app to run...

  • 70 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
ai-agentsgonextjsexpressfastapidjangoflaskspringdockerkubernetesazure

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add seaworld008/Commonly-used-high-value-skills --skill azure-kubernetes-app-deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Azure Kubernetes App Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Azure Kubernetes App Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seaworld008-azure-kubernetes-app-deploy/badge)](https://www.skillsdirectory.com/skills/seaworld008-azure-kubernetes-app-deploy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: azure-kubernetes-app-deploy
description: 'Use when deploying an existing web application or API to an already-running Azure Kubernetes Service cluster. Detects the framework, generates a Dockerfile and Kubernetes manifests, validates against AKS Deployment Safeguards, and deploys with verification. WHEN: deploy app to AKS, deploy to existing AKS cluster, containerize app for Kubernetes, generate K8s manifests for Azure, set up CI/CD for AKS, my AKS deployment is failing safeguard checks, I have a Django/Express/Spring Boot app to run on AKS. DO NOT USE FOR: creating or provisioning an AKS cluster (use azure-kubernetes), assessing migration to AKS Automatic (use azure-kubernetes-automatic-readiness), or deploying to non-AKS targets like Web Apps, Container Apps, or Functions.'
license: MIT
metadata:
  author: Microsoft
  version: "1.0.0"
tags: '[azure, kubernetes, deployment, aks]'
quality: 2
---

# Deploy to AKS

**Use when:** deploying a web app/API to AKS; containerizing for Kubernetes; generating manifests; AKS CI/CD; DS001–DS013 failures.

**Not for:** provisioning clusters (`azure-kubernetes`), AKS Automatic readiness (`azure-kubernetes-automatic-readiness`), non-AKS targets.

## Workflow

Requires: existing AKS cluster, `az login`, `kubectl` configured. Follow `phases/quick-deploy.md`. On failure: `references/rollback.md`.

## References

- [detection.md](./references/detection.md) — framework/port/health detection
- [safeguards.md](./references/safeguards.md) — DS001-DS013 checklist
- [workload-identity.md](./references/workload-identity.md) — Workload Identity setup
- [rollback.md](./references/rollback.md) — recovery procedures
- [base-images.md](./references/base-images.md) — base image policy and `<LATEST_STABLE_*>` resolution

## Knowledge Packs

Load `knowledge-packs/frameworks/<framework>.md` per detected framework. Available: `spring-boot`, `express`, `nextjs`, `fastapi`, `django`, `nestjs`, `aspnet-core`, `go`, `flask`

## Templates

`templates/` (dockerfiles/, k8s/, github-actions/, mermaid/).

<!-- LOCAL-QUALITY-SUPPLEMENT:START -->
## Usage Notes

Treat the app-deploy workflow as a controlled production change. Confirm the
target subscription, cluster context, namespace, image registry, and rollback
point before generating or applying manifests.

## Common Pattern

```text
1. Detect the application framework, port, health endpoint, and build command.
2. Generate the smallest applicable Dockerfile and Kubernetes manifests.
3. Validate the manifests and Deployment Safeguards before changing the cluster.
4. Apply to a non-production namespace or staged environment first.
5. Verify rollout status, probes, logs, service routing, and workload identity.
6. Stop and follow references/rollback.md when verification fails.
```

## Boundaries

- Never invent registry, cluster, subscription, namespace, or secret values.
- Do not replace a working deployment strategy without showing the proposed
  manifest diff and obtaining the user's authorization.
- Keep generated credentials out of Docker build arguments, manifests, logs,
  and command history.
- Prefer immutable image digests for production rollouts.
- This supplement adds repository quality and safety guidance; the upstream
  Microsoft workflow and templates remain authoritative.
<!-- LOCAL-QUALITY-SUPPLEMENT:END -->

Files in this skill

  • SKILL.md3.3 KB
  • knowledge-packs/frameworks/aspnet-core.md7.3 KB
  • knowledge-packs/frameworks/django.md6 KB
  • knowledge-packs/frameworks/express.md6.7 KB
  • knowledge-packs/frameworks/fastapi.md5.8 KB
  • knowledge-packs/frameworks/flask.md6.2 KB
  • knowledge-packs/frameworks/go.md6.8 KB
  • knowledge-packs/frameworks/nestjs.md6.7 KB
  • knowledge-packs/frameworks/nextjs.md7.1 KB
  • knowledge-packs/frameworks/spring-boot.md6 KB
  • phases/quick-deploy.md7.8 KB
  • references/base-images.md3.6 KB
  • references/detection.md3.5 KB
  • references/rollback.md2 KB
  • references/safeguards.md2.9 KB
  • references/workload-identity.md7.4 KB
  • templates/dockerfiles/dotnet.Dockerfile2.6 KB
  • templates/dockerfiles/dotnet.dockerignore125 B
  • templates/dockerfiles/go.Dockerfile2.1 KB
  • templates/dockerfiles/go.dockerignore128 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…