kubernetes-iac

Provision and manage AKS clusters with Terraform, Bicep, Helm, Kustomize, and GitOps workflows.

1|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/TheViziusGroup/vibe-engineering-skills --skill kubernetes-iac-theviziusgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes-iac
Source: https://github.com/TheViziusGroup/vibe-engineering-skills/tree/main/plugins/azure-cloud-infra/skills/kubernetes-iac
Command: npx skills add https://github.com/TheViziusGroup/vibe-engineering-skills --skill kubernetes-iac-theviziusgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Kubernetes infrastructure on Azure involves many moving parts — cluster provisioning, application manifests, secrets, security policies, and upgrades — and mixing them together leads to fragile, hard-to-maintain setups. This Skill provides a comprehensive reference for structuring Kubernetes infrastructure-as-code correctly on AKS. ## Core Features & Use Cases - Platform vs Application IaC Separation: Guidance on splitting Terraform/Bicep cluster provisioning from Helm/Kustomize workload manifests into separate repos and pipelines. - GitOps Operations: Flux CD vs ArgoCD selection criteria, config repo structures, and directory-based environment promotion patterns. - AKS Security Hardening: Pod Security Standards, default-deny NetworkPolicies, Workload Identity setup, Azure Policy, Trivy scanning, and private cluster configuration. - Use Case: A platform engineer needs to provision a production AKS cluster with Terraform, set up Flux for GitOps deployments, enforce restricted pod security, and configure Workload Identity — this Skill provides the exact module structures, HCL snippets, and YAML manifests for each step. ## Quick Start Ask the AI to generate a production-ready Terraform module for an AKS cluster with Workload Identity, private API server, and Azure CNI Overlay with Cilium.

Frequently Asked Questions about kubernetes-iac

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision an AKS cluster with Terraform?

Use a modular Terraform structure with separate modules for VNet, AKS, ACR, and Key Vault, composed per environment. Store state in Azure Blob Storage with native locking, authenticate via OIDC, and consider Azure Verified Modules for production clusters.

Flux CD vs ArgoCD — which GitOps tool should I choose for AKS?

Choose ArgoCD for a rich web UI, application visualization, and easier team onboarding. Choose Flux for composable Kubernetes-native controllers, native SOPS secret decryption, and Kustomize post-rendering of Helm charts.

Should I use Terraform or Bicep for Azure infrastructure?

Choose Bicep for Azure-only teams wanting no state management and day-zero Azure feature support. Choose Terraform for multi-cloud environments, non-Azure resources like Datadog or GitHub, or existing Terraform investment.

How do I set up Workload Identity on AKS?

Enable the OIDC issuer and workload identity on the cluster, create a user-assigned managed identity, then create a federated credential linking it to a Kubernetes service account. Annotate the service account with the client ID and label pods with azure.workload.identity/use.

What replaced Pod Security Policies in Kubernetes?

Pod Security Standards replaced deprecated PSPs. Enforce the Restricted profile via namespace labels, migrating gradually by enabling warn and audit modes first before switching to enforce mode.

Why should I separate platform IaC from application IaC?

Platform and application IaC have different lifecycles, credentials, and blast radii. Mixing them in one Terraform state means an application change could accidentally destroy the cluster, so they must live in separate repositories with separate pipelines.