How would you secure an AKS cluster in production?
AdvancedConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
- Identity: Entra integration, Azure RBAC, local accounts disabled, workload identity for pods.
- Network: private cluster or authorized IPs, CNI Overlay with Cilium network policies (default-deny per namespace), egress through Azure Firewall with UDR outbound.
- Supply chain: images only from private ACR via policy, Defender for Containers scanning, signed images verified by Ratify.
- Runtime: Pod Security Admission
restricted(or Deployment Safeguards/Azure Policy), non-root, read-only root FS, no privileged pods. - Secrets: Key Vault CSI with workload identity; etcd encryption with KMS (CMK) where required.
- Ops: auto-upgrade channels in maintenance windows, Standard tier, diagnostic logs (
kube-audit-admin) to Log Analytics, Defender alerts to SIEM.
More on Policy, Cost, AWS Mapping and Rapid-fire
What is Azure Policy and what effects can a policy have?BeginnerAzure Policy vs RBAC: what is the difference?BeginnerShow an Azure Policy definition that denies public IPs on NICs.AdvancedHow do remediation tasks and policy exemptions work?AdvancedWhat is Microsoft Defender for Cloud?IntermediateWhat tools does Azure offer for cost management?Beginner