azure-kubernetes

软件研发 云服务与部署 55 文件 EN 原文

规划创建生产可用的 AKS 集群

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.

说明语言:英文

来源microsoftazure-skills ↗ 查看原文件 ↗版权归原作者,请遵循原仓库许可
安装
npx skills add https://github.com/microsoft/azure-skills --skill azure-kubernetes

需要已安装 skills CLI。也可以直接从源仓库 clone。

在星云中查看 ↗
SKILL.md 原文

name: azure-kubernetes license: MIT metadata: author: Microsoft version: "1.2.3" 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." ---

Azure Kubernetes Service

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.

Quick Reference

PropertyValue
Best forAKS cluster planning and Day-0 decisions
MCP Toolsmcp_azure_mcp_aks
CLIaz aks create, az aks show, kubectl get, kubectl describe
Related skillsazure-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, exact-signature, packet-capture, and GPU Day-2 workflows)

When to Use This Skill

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.

Rules

  1. Start with the user's requirements for provisioning compute, networking, security, and other settings.
  2. Use the 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.
  3. Determine if AKS Automatic or Standard SKU is more appropriate based on the user's need for control vs convenience. Default to AKS Automatic unless specific customizations are required.
  4. Document decisions and rationale for cluster configuration choices, especially for Day-0 decisions that are hard to change later (networking, API server access).

Required Inputs (Ask only what’s needed)

If the user is unsure, use safe defaults.

Workflow

1. Cluster Type

2. Networking (Pod IP, Egress, Ingress, Dataplane)

Pod IP Model (Key Day-0 decision):

Dataplane & Network Policy:

Egress:

Ingress:

DNS:

3. Security

4. Observability

5. Upgrades & Patching

6. Performance

7. Node Pools & Compute

8. Reliability

9. Cost Controls

Deep-dive scenarios — load only the relevant reference file:

ScenarioTrigger KeywordsReference
Pod Rightsizingover-provisioned pods, CPU requests, memory requests, rightsize workloadsazure-aks-rightsizing.md
VPA Setupvertical pod autoscaler, VPA recommendations, VPA enableazure-aks-vpa.md
Cluster Autoscaleridle nodes, CAS off, enable autoscaler, scale-down profile, node utilizationazure-aks-autoscaler.md
Spot Node PoolsSpot VMs, Spot nodes, batch workloads, cheaper nodesazure-aks-spot.md
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.

Guardrails / Safety

MCP Tools

ToolPurposeKey Parameters
mcp_azure_mcp_aksAKS MCP entry point used to discover the exact AKS-specific tools exposed by the clientDiscover the callable AKS tool first, then use that tool's parameters

Error Handling

Error / SymptomLikely CauseRemediation
MCP tool call fails or times outInvalid credentials, subscription, or AKS contextVerify 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 exceededRegional vCPU or resource limitsRequest quota increase or select different region/VM SKU
Networking conflict (IP exhaustion)Pod subnet too small for overlay/CNIRe-plan IP ranges; may require cluster recreation (Day-0)
Workload Identity not workingMissing OIDC issuer or federated credentialEnable --enable-oidc-issuer --enable-workload-identity, configure federated identity
同类技能
agents-sdkairunway-aks-setupappinsights-instrumentationazure-aiazure-aigatewayazure-app-onboardazure-app-onboard-prereqazure-cloud-migrate
本页内容来自开源项目 microsoft, 版权归原作者所有。
本站仅作技能索引与分享,所有 Skill 版权归其原作者所有。