Interview Prep/Ansible/AWX, Cloud and Large-Scale Operations

How do you manage Kubernetes resources with Ansible?

IntermediateScenarioAWX, Cloud and Large-Scale Operations
Answer

Situation read → Ansible and k8s.

What I'd do → Use kubernetes.core.k8s and kubernetes.core.helm modules from localhost.

- kubernetes.core.helm:
    name: ingress
    chart_ref: ingress-nginx/ingress-nginx
    release_namespace: ingress
    create_namespace: true
    values: { controller: { replicaCount: 3 } }

Why → Good for bootstrapping clusters and glue; GitOps tools (Argo CD) own the steady state.

Interview tip → Install the kubernetes Python package on the controller.

All Ansible questions Roadmap: Ansible

More on AWX, Cloud and Large-Scale Operations