azure-aks-enterprise-landing-zones
Skill1 starsChanged 4 months agoMITView on GitHub
Azure AKS enterprise landing zones: Azure CNI Overlay networking and IP planning, private clusters, Entra Workload Identity federation, Azure Policy for Kubernetes, and node-pool topology. Use when building or hardening AKS to an enterprise baseline, when AKS pods must authenticate to Key Vault or other Azure services without any stored secret, or when enforcing Kubernetes governance on Azure.
In this repository167 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/00-index.mdcCursor rule
- .cursor/rules/skills/ai-agent-security-llm-threats.mdcCursor rule
- .cursor/rules/skills/api-gateway-service-mesh.mdcCursor rule
- .cursor/rules/skills/aws-cloud-migration-strategies.mdcCursor rule
- .cursor/rules/skills/aws-eks-enterprise-patterns.mdcCursor rule
- .cursor/rules/skills/aws-iam-zero-trust-policies.mdcCursor rule
- .cursor/rules/skills/azure-aks-enterprise-landing-zones.mdcCursor rule
- .cursor/rules/skills/azure-cloud-engineering-patterns.mdcCursor rule
- .cursor/rules/skills/backup-and-disaster-recovery.mdcCursor rule
- .cursor/rules/skills/chaos-engineering-resilience-testing.mdcCursor rule
- .cursor/rules/skills/cicd-pipeline-design.mdcCursor rule
- .cursor/rules/skills/cloud-native-microservices-patterns.mdcCursor rule
- .cursor/rules/skills/cloud-security-posture-cspm-cis.mdcCursor rule
- .cursor/rules/skills/configuration-management-ansible.mdcCursor rule
- .cursor/rules/skills/container-runtime-security-falco.mdcCursor rule
- .cursor/rules/skills/database-devops-lifecycle.mdcCursor rule
- .cursor/rules/skills/detection-engineering-threat-hunting.mdcCursor rule
- .cursor/rules/skills/devops-metrics-dora-kpis.mdcCursor rule
- .cursor/rules/skills/docker-containerization-basics.mdcCursor rule
- .cursor/rules/skills/enterprise-iac-governance-terragrunt.mdcCursor rule
- .cursor/rules/skills/finops-framework-inform-optimize-operate.mdcCursor rule
- .cursor/rules/skills/gcp-cloud-engineering-patterns.mdcCursor rule
- .cursor/rules/skills/gcp-gke-autopilot-multi-tenant.mdcCursor rule
- .cursor/rules/skills/git-branching-merge-strategies.mdcCursor rule
- .cursor/rules/skills/gitops-multi-cluster-argo-flux.mdcCursor rule
- .cursor/rules/skills/helm-kubernetes-deployment.mdcCursor rule
- .cursor/rules/skills/incident-management-and-postmortem.mdcCursor rule
- .cursor/rules/skills/infrastructure-host-monitoring.mdcCursor rule
- .cursor/rules/skills/internal-developer-portal-backstage.mdcCursor rule
- .cursor/rules/skills/linux-sysadmin-troubleshooting.mdcCursor rule
- .cursor/rules/skills/performance-load-testing.mdcCursor rule
- .cursor/rules/skills/policy-as-code-opa-kyverno.mdcCursor rule
- .cursor/rules/skills/prometheus-grafana-otel-tracing.mdcCursor rule
- .cursor/rules/skills/scalability-high-availability-patterns.mdcCursor rule
- .cursor/rules/skills/scripting-and-automation.mdcCursor rule
- .cursor/rules/skills/secops-incident-triage-forensics.mdcCursor rule
- .cursor/rules/skills/secrets-management-vault-kms.mdcCursor rule
- .cursor/rules/skills/serverless-event-driven-architecture.mdcCursor rule
- .cursor/rules/skills/shift-left-security-sast-sca.mdcCursor rule
- .cursor/rules/skills/sli-slo-error-budget-design.mdcCursor rule
- .cursor/rules/skills/supply-chain-security-slsa-sigstore.mdcCursor rule
- .cursor/rules/skills/terraform-iac-modules.mdcCursor rule
- .cursor/rules/skills/write-a-skill.mdcCursor rule
- .cursor/rules/skills/zero-downtime-release-strategies.mdcCursor rule
- ai-agent-security-llm-threatsSkill
- api-gateway-service-meshSkill
- aws-cloud-migration-strategiesSkill
- aws-eks-enterprise-patternsSkill
- aws-iam-zero-trust-policiesSkill
- azure-cloud-engineering-patternsSkill
- backup-and-disaster-recoverySkill
- chaos-engineering-resilience-testingSkill
- cicd-pipeline-designSkill
- cloud-native-microservices-patternsSkill
- cloud-security-posture-cspm-cisSkill
- configuration-management-ansibleSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
System vs User Node Pool Separation: Keep critical K8s control addons isolated on dedicated system node pools.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Azure AKS Enterprise Landing Zone & Governance Architecture
When to Use This Skill
Triggers — load this skill when:
- An AKS cluster must be built or hardened to an enterprise baseline
- Workloads need Entra ID access via Workload Identity instead of secrets
- Kubernetes governance must be enforced with Azure Policy
Route elsewhere when:
- Hub-spoke networking and platform services ->
azure-cloud-engineering-patterns - Chart authoring ->
helm-kubernetes-deployment - Multi-cluster reconciliation ->
gitops-multi-cluster-argo-flux
1. Enterprise Terraform AKS Landing Zone Configuration
resource "azurerm_kubernetes_cluster" "aks" {
name = "aks-prod-enterprise"
location = "eastus2"
resource_group_name = "rg-production-compute"
dns_prefix = "aks-prod"
kubernetes_version = "1.29"
default_node_pool {
name = "system"
node_count = 3
vm_size = "Standard_D4ds_v5"
os_disk_type = "Ephemeral"
vnet_subnet_id = "/subscriptions/.../subnets/aks-subnet"
only_critical_addons_enabled = true
zones = ["1", "2", "3"]
}
identity {
type = "UserAssigned"
identity_ids = [azurerm_user_assigned_identity.aks_identity.id]
}
network_profile {
network_plugin = "azure"
network_plugin_mode = "overlay"
ebpf_data_plane = "cilium"
load_balancer_sku = "standard"
}
oidc_issuer_enabled = true
workload_identity_enabled = true
azure_policy_enabled = true
}2. Key Architecture Standards
- Azure CNI Powered by Cilium: High-performance eBPF-based data plane, network policy enforcement, and IP address conservation.
- Entra ID Workload Identity: Federate K8s Service Accounts directly to Azure Managed Identities without static client secrets.
- System vs User Node Pool Separation: Keep critical K8s control addons isolated on dedicated system node pools.
3. CNI Overlay Networking & Private Clusters
Azure CNI Overlay is the default choice for enterprise scale: pods get addresses from a private overlay CIDR instead of consuming VNet address space, so a cluster no longer needs tens of thousands of routable IPs. Nodes stay in the VNet; only nodes and Services consume VNet IPs.
| Mode | VNet IPs consumed | Direct pod addressability | Use when |
| CNI Overlay | Nodes + Services only | No (SNAT out of node IP) | Default; large or growing clusters |
| CNI (node subnet) | Every pod | Yes | Legacy peers must reach pods directly |
| Kubenet | Nodes only | No | Deprecated — do not start here |
network_profile {
network_plugin = "azure"
network_plugin_mode = "overlay"
network_policy = "cilium"
pod_cidr = "10.244.0.0/16" # overlay, not from the VNet
service_cidr = "10.0.32.0/20"
dns_service_ip = "10.0.32.10"
}
private_cluster_enabled = true # API server has no public endpoint
private_cluster_public_fqdn_enabled = false
api_server_access_profile {
authorized_ip_ranges = [] # empty because access is private-only
}A private cluster moves the API server behind a Private Endpoint, so CI runners and admin
tooling must reach it over the hub network (private DNS zone
privatelink.<region>.azmk8s.io linked to every VNet that resolves it). Plan that path before
enabling it — the usual failure is a working cluster nobody can reach. Keep system and user
node pools separate, taint the system pool, and pin the Kubernetes version per pool so upgrades
are staged rather than simultaneous.
4. Key Vault Access Without Stored Secrets
Workload Identity federates the pod's ServiceAccount token to Entra ID, so no secret, connection string, or certificate is ever stored in the cluster:
az identity federated-credential create --name aks-payments --identity-name id-payments --resource-group rg-platform --issuer "$(az aks show -g rg-platform -n aks-prod --query oidcIssuerProfile.issuerUrl -o tsv)" --subject "system:serviceaccount:prod-payments:payments" --audience api://AzureADTokenExchange
az role assignment create --assignee "$CLIENT_ID" --role "Key Vault Secrets User" --scope "/subscriptions/$SUB/resourceGroups/rg-platform/providers/Microsoft.KeyVault/vaults/kv-prod"apiVersion: v1
kind: ServiceAccount
metadata:
name: payments
namespace: prod-payments
annotations:
azure.workload.identity/client-id: <client-id>
---
# Pod template
metadata:
labels: { azure.workload.identity/use: "true" }
spec:
serviceAccountName: paymentsThe federated subject pins the identity to one namespace and one ServiceAccount — the control that stops any other pod in the cluster from requesting the same token. Use the Key Vault CSI driver when the application must read files rather than call the SDK; avoid the deprecated pod-managed identity (aad-pod-identity) in new clusters.
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
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.

