Installation times using the awx-Operator

I’ve been installing AWX using the AWX Operator on multiple servers with good resources and high speed internet, and the process consistently takes around 3 to 4 hours to complete. Is this expected behavior? If not, could someone please share how long the installation typically takes under normal conditions? If I’m doing something incorrectly during the process, I would appreciate any guidance or corrections.

I follow the installation instruction from the awx page on readthedocs:

Here are the steps I take:

  1. git clone GitHub - ansible/awx-operator: An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. 🤖

  2. cd awx-operator/

  3. git checkout tags/2.19.1

  4. export VERSION=2.19.1

  5. make deploy

  6. nano awx-demo.yml

---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx-server
spec:
  service_type: nodeport

  1. kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  # Find the latest tag here: https://github.com/ansible/awx-operator/releases
  - github.com/ansible/awx-operator/config/default?ref=2.19.1

# Set the image tags to match the git version from above
images:
  - name: quay.io/ansible/awx-operator
    newTag: 2.19.1

# Specify a custom namespace in which to install AWX
namespace: awx

Also I’ve tried with this kustomization.yaml

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - ./config/default
  - awx-demo.yml

# Set the image tags to match the git version from above
images:
  - name: quay.io/ansible/awx-operator
    newTag: 2.19.1

# Specify a custom namespace in which to install AWX
namespace: awx

  1. nano awxmeshingress-demo.yml
---
apiVersion: awx.ansible.com/v1alpha1
kind: AWXMeshIngress
metadata:
  name: awx-mesh-ingress-server
spec:
  deployment_name: awx-server

  1. kubectl config set-context --current --namespace=awx
  2. kubectl apply -k .

I’d appreciate it if someone could tell me how long it typically takes you to install AWX using the AWX Operator.

is the operator working as expected after the install completes? If so then you must be doing it right. Congratulations!

1 Like

Any idea how long it usually takes to install?

On AKS, it took about 30 to 45 minutes I think, but that was with an external Postgres database, no idea how much installing the database adds.

You can follow the installation in another screen with

kubectl -n awx logs -f deployments/awx-operator-controller-manager