k8s/awx.yaml¶
awx.yaml deploys a standalone AWX (Ansible automation controller) instance on a local Kubernetes cluster.
Unlike the other sample inventories under k8s/, this is not a Fabric-X network sample. AWX is a general automation controller, deployed independently through the awx role and its companion playbooks.
Warning
The AWX Operator installs cluster-scoped resources (CRDs, ClusterRoles, ClusterRoleBindings). The account running this inventory needs cluster-admin rights on the target cluster.
Topology¶
flowchart TD
all --> awx
awx --> awx-controller
Inventory Details¶
A single logical host, awx-controller, represents the AWX deployment:
awx_use_k8s: trueselects the Kubernetes task path.awx_k8s_node_port: 30080exposes the AWX web service through a NodePort, reachable athttp://localhost:30080on a local cluster.awx_restore_name: awxrestores in place by default, reusing the same NodePort without a service port conflict.
Run the lifecycle playbooks directly against this inventory, for example:
See the playbooks/awx README for the full lifecycle (start, teardown, wipe, backup, restore) and how to retrieve the generated admin credentials.