Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure AWX on Kubernetes

Once AWX is deployed, configure Apstra credentials and job templates.

Configure AWX

Run the AWX Deployment Script

To run the AWX configuration script, issue the following command:

Configuration Process

The script will prompt you for the following information:

  • Apstra Configuration

    • Apstra server URL (for example, https://10.84.106.91)

    • Username (admin or your Apstra user)

    • Password

  • Kubernetes Configuration

    • Kubernetes API server URL (auto-detected)

    • Cluster configuration (auto-generated)

      Password

  • Project Configuration

    • Repository URL (defaults to this project)

    • Branch (defaults to 'nutanix')

This script automatically performs the following actions:

  • Creates Kubernetes RBAC (ServiceAccount, ClusterRole, ClusterRoleBinding)

  • Clones the project repository

  • Creates AWX credentials for Apstra and Kubernetes

  • Creates AWX inventory and execution environment

  • Creates AWX project pointing to your repository

  • Creates job templates for:

    • create-vrf (Security Zone creation)

    • delete-vrf (Security Zone deletion)

      (
    • delete-vnet (Virtual Network deletion)

    • create-connectivity-template (Connectivity template)

    • delete-connectivity-template (Connectivity template deletion)

Verify the AWX Configuration