From 8c804798454b3e9386fcf55273df15233cdcdd70 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Wed, 31 Jul 2024 20:21:37 -0600 Subject: [PATCH] Update Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md --- .../AWX/AWX Operator/Ansible AWX Operator.md | 41 ++----------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md b/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md index c4eebec..f3cd242 100644 --- a/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md +++ b/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md @@ -50,15 +50,6 @@ You will need to create these files all in the same directory using the content name: awx spec: service_type: ClusterIP - extra_volumes: - - name: krb5-conf - configMap: - name: krb5-config - extra_volume_mounts: - - name: krb5-conf - mountPath: /etc/krb5.conf - subPath: krb5.conf - readOnly: true ``` === "ingress.yml" @@ -97,34 +88,6 @@ You will need to create these files all in the same directory using the content namespace: awx ``` -=== "krb5-configmap.yml" - - ```jsx title="/awx/krb5-configmap.yml" - apiVersion: v1 - kind: ConfigMap - metadata: - name: krb5-config - namespace: awx - data: - krb5.conf: | - [libdefaults] - default_realm = BUNNY-LAB.IO - dns_lookup_realm = false - dns_lookup_kdc = false - - [realms] - BUNNY-LAB.IO = { - kdc = 192.168.3.25 - kdc = 192.168.3.26 - admin_server = 192.168.3.25 - } - - [domain_realm] - .bunny-lab.io = BUNNY-LAB.IO - bunny-lab.io = BUNNY-LAB.IO - - ``` - ## Ensure the Kubernetes Cluster is Ready Check that the status of the cluster is ready by running the following commands, it should appear similar to the [Rancher RKE2 Example](https://docs.bunny-lab.io/Containers/Kubernetes/Rancher%20RKE2/Rancher%20RKE2%20Cluster/#install-helm-rancher-certmanager-jetstack-rancher-and-longhorn): ``` @@ -155,10 +118,12 @@ Now it is time to tell Kubernetes to read the configuration files using Kustomiz ``` sh cd /awx -kubectl apply -f krb5-configmap.yml kubectl apply -k . ``` +!!! warning "Be Patient - Wait 20 Minutes" + The process may take a while to spin up AWX, postgresql, redis, and other workloads necessary for AWX to function. Depending on the speed of the server, it may take between 5 and 20 minutes for AWX to be ready to connect to. You can watch the progress via the CLI commands listed above, or directly on Rancher's WebUI at https://rancher.bunny-lab.io. + ## Access the AWX WebUI behind Ingress Controller After you have deployed AWX into the cluster, it will not be immediately accessible to the host's network (such as your personal computer) unless you set up a DNS record pointing to it. In the example above, you would have an `A` or `CNAME` DNS record pointing to the internal IP address of the Rancher RKE2 Cluster host.