安装方式
命令行安装
在项目根目录执行以下命令,完成 Skill 安装。
npx bzskills add microsoft/azure-skills --skill azure-kubernetes Plan, create, and configure production-ready Azure Kubernetes Service (AKS) clusters. Covers Day-0 checklist, SKU selection (Automatic vs Standard), networking options (private API server, Azure CNI Overlay, egress configuration), security, and operations (autoscaling, upgrade strategy, cost analysis). WHEN: create AKS environment, provision AKS, enable AKS observability, design AKS networking, choose AKS SKU, secure AKS, optimize AKS, AKS spot nodes, AKS cluster-autoscaler, rightsize AKS pod, pod rightsizing, over-provisioned AKS pod, pod resource requests and limits, Vertical Pod Autoscaler, VPA recommendations.
131.4k
下载量
命令行安装
在项目根目录执行以下命令,完成 Skill 安装。
npx bzskills add microsoft/azure-skills --skill azure-kubernetes name: azure-kubernetes
license: MIT
metadata:
author: Microsoft
version: "1.2.5"
description: 'Plan, create, and configure production-ready Azure Kubernetes Service (AKS) clusters. Covers Day-0 checklist, SKU selection (Automatic vs Standard), networking options (private API server, Azure CNI Overlay, egress configuration), security, and operations (autoscaling, upgrade strategy, cost analysis). WHEN: create AKS environment, provision AKS, enable AKS observability, design AKS networking, choose AKS SKU, secure AKS, optimize AKS, AKS spot nodes, AKS cluster-autoscaler, rightsize AKS pod, pod rightsizing, over-provisioned AKS pod, pod resource requests and limits, Vertical Pod Autoscaler, VPA recommendations.'AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE
>
This skill produces a recommended AKS cluster configuration based on user requirements, distinguishing Day-0 decisions (networking, API server — hard to change later) from Day-1 features (can enable post-creation). See CLI reference for commands.
| Property | Value |
|---|---|
| Best for | AKS cluster planning and Day-0 decisions |
| MCP Tools | mcp_azure_mcp_aks |
| CLI | az aks create, az aks show, kubectl get, kubectl describe |
| Related skills | azure-kubernetes-app-deploy (deploy an app to an existing cluster), azure-diagnostics (baseline AKS troubleshooting), azure-validate (readiness checks), azure-kubernetes-automatic-readiness (migrate existing cluster to AKS Automatic), optional aks-skills operations add-on (focused incident, advanced cost-efficiency, exact-signature, packet-capture, and GPU Day-2 workflows) |
Activate this skill when user wants to:
Deploying an application to an existing cluster? This skill provisions and
configures the *cluster*. To containerize an app and deploy it to a cluster
that already exists (Dockerfile + manifests + Deployment Safeguards), use the
azure-kubernetes-app-deploy sub-skill instead.Deeper operational task? Keep Day-0 planning and basic operations in this
base skill. Load optional-aks-operations.md
only when a focused optional AKS operational skill could improve the current
task.
azure MCP server and select mcp_azure_mcp_aks first to discover the exact AKS-specific MCP tools surfaced by the client. Choose the smallest discovered AKS tool that fits the task, and fall back to Azure CLI (az aks) only when the needed functionality is not exposed through the AKS MCP surface.If the user is unsure, use safe defaults.
Pod IP Model (Key Day-0 decision):
Dataplane & Network Policy:
Egress:
Ingress:
DNS:
--node-osdisk-type Ephemeral) for faster node startupCriticalAddonsOnly)when dynamic capacity fits workload demand; savings are not guaranteed.
Enable NAP for new clusters. For existing clusters, use
optional AKS operations to invoke
aks-cost-optimization when available for NAP readiness. Otherwise, continue with
--zones 1 2 3)az aks stop/start#### Focused AKS Cost Workflows
For a focused request, load only the relevant reference file.
| Scenario | Trigger Keywords | Reference |
|---|---|---|
| Pod Rightsizing | over-provisioned pods, CPU requests, memory requests, rightsize workloads | azure-aks-rightsizing.md |
| VPA Setup | vertical pod autoscaler, VPA recommendations, VPA enable | azure-aks-vpa.md |
| Cluster Autoscaler | idle nodes, CAS off, enable autoscaler, scale-down profile, node utilization | azure-aks-autoscaler.md |
| Spot Node Pools | Spot VMs, Spot nodes, batch workloads, cheaper nodes | azure-aks-spot.md |
| Advanced AKS Cost Efficiency | NAP readiness, node-pool bin packing, blocked scale-down, Kubernetes storage cost | optional AKS operations |
Disambiguation: If a prompt matches multiple rows (e.g., "cheaper nodes" could suggest both Spot and autoscaler), prefer the most specific match. If ambiguous, ask the user to clarify their intent before loading a reference file.
#### Comprehensive AKS Cost Review
When the user requests an overall AKS cost assessment rather than one focused
workflow, this skill owns triage and coordinates one unified review:
cost-analysis is available, collect one billed-cost baseline for that scope and reuse it throughout the review.aks-cost-optimization when available for NAP readiness, node-pool bin packing, node-scaling bottlenecks, or Kubernetes-to-Azure storage optimization.cost-optimization when available for commitment analysis. If the capability or evidence is unavailable, report commitment analysis as a gap. Do not recommend a purchase from this review alone.Investigate applicable levers and return one ranked report. Rank by comparable
estimated cost impact when available; keep unknown monetary impact unknown
rather than zero. Do not present one narrow analysis as the complete review.
Mark unavailable capabilities or evidence as gaps.
| Rank | Lever | Evidence | Estimated cost impact and basis | Risk | Approval needed | Confidence |
|---|
az account show / az account list so the agent can resolve context without exposing identifiers.| Tool | Purpose | Key Parameters |
|---|---|---|
mcp_azure_mcp_aks | AKS MCP entry point used to discover the exact AKS-specific tools exposed by the client | Discover the callable AKS tool first, then use that tool's parameters |
| Error / Symptom | Likely Cause | Remediation |
|---|---|---|
| MCP tool call fails or times out | Invalid credentials, subscription, or AKS context | Verify az login, confirm the active subscription context with az account show, and check the target resource group without echoing subscription identifiers back to the user |
| Quota exceeded | Regional vCPU or resource limits | Request quota increase or select different region/VM SKU |
| Networking conflict (IP exhaustion) | Pod subnet too small for overlay/CNI | Re-plan IP ranges; may require cluster recreation (Day-0) |
| Workload Identity not working | Missing OIDC issuer or federated credential | Enable --enable-oidc-issuer --enable-workload-identity, configure federated identity |