From 94134b7829ff87439b64e1e3b20565fadb64c3c5 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Thu, 26 Sep 2024 04:15:14 -0600 Subject: [PATCH] Update Docker & Kubernetes/Servers/AWX/AWX Operator/AWX Operator Deployment.md --- .../AWX Operator/AWX Operator Deployment.md | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Docker & Kubernetes/Servers/AWX/AWX Operator/AWX Operator Deployment.md b/Docker & Kubernetes/Servers/AWX/AWX Operator/AWX Operator Deployment.md index af372f9..8730b7b 100644 --- a/Docker & Kubernetes/Servers/AWX/AWX Operator/AWX Operator Deployment.md +++ b/Docker & Kubernetes/Servers/AWX/AWX Operator/AWX Operator Deployment.md @@ -162,7 +162,7 @@ There is a known issue with upgrading / install AWX Operator beyond version 2.10 ### Create a Temporary Pod to Adjust Permissions We need to create a pod that will mount the PostgreSQL PVC, make changes to permissions, then destroy the v15.0 pod to have the AWX Operator automatically regenerate it. -```jsx title="/awx/temp-pod.yml" +```jsx title="/awx/temp-pod.yml" yaml apiVersion: v1 kind: Pod metadata: @@ -243,6 +243,22 @@ At this point, we need to make an "Instance Group" for the AWX Execution Environ Create the following files in the `/awx` folder on the AWX Operator server you deployed earlier when setting up the Kubernetes Cluster and deploying AWX Operator into it so we can later mount them into the new Execution Environment we will be building. +=== "/awx/custom_dns_records.yml" + + ``` yaml + apiVersion: v1 + kind: ConfigMap + metadata: + name: custom-dns + namespace: awx + data: + custom-hosts: | + 192.168.3.25 LAB-DC-01.bunny-lab.io LAB-DC-01 + 192.168.3.26 LAB-DC-02.bunny-lab.io LAB-DC-02 + 192.168.3.4 VIRT-NODE-01.bunny-lab.io VIRT-NODE-01 + 192.168.3.5 BUNNY-NODE-02.bunny-lab.io BUNNY-NODE-02 + ``` + === "/awx/krb5.conf" ``` @@ -265,22 +281,6 @@ Create the following files in the `/awx` folder on the AWX Operator server you d bunny-lab.io = BUNNY-LAB.IO ``` -=== "/awx/custom_dns_records.yml" - - ``` - apiVersion: v1 - kind: ConfigMap - metadata: - name: custom-dns - namespace: awx - data: - custom-hosts: | - 192.168.3.25 LAB-DC-01.bunny-lab.io LAB-DC-01 - 192.168.3.26 LAB-DC-02.bunny-lab.io LAB-DC-02 - 192.168.3.4 VIRT-NODE-01.bunny-lab.io VIRT-NODE-01 - 192.168.3.5 BUNNY-NODE-02.bunny-lab.io BUNNY-NODE-02 - ``` - Then we apply these configmaps to the AWX namespace with the following commands: ``` cd /awx