Update Docker & Kubernetes/Servers/AWX/AWX Operator/AWX Operator Deployment.md
This commit is contained in:
@ -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
|
### 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.
|
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
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
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.
|
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"
|
=== "/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
|
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:
|
Then we apply these configmaps to the AWX namespace with the following commands:
|
||||||
```
|
```
|
||||||
cd /awx
|
cd /awx
|
||||||
|
Reference in New Issue
Block a user