[kubeadmin@xl8phxc360awxtst ~]$ k get pods
NAME READY STATUS RESTARTS AGE
awx-567bcb5746-zkp74 4/4 Running 44 (18h ago) 2d11h
awx-operator-controller-manager-6c69f7cdb-fd7fp 2/2 Running 30 (18h ago) 22d
awx-postgres-0 1/1 Running 15 (18h ago) 22d
[kubeadmin@xl8phxc360awxtst ~]$ kubectl get pods awx-567bcb5746-zkp74 -o jsonpath='{.spec.containers[*].name}'
redis awx-web awx-task awx-ee[kubeadmin@xl8phxc360awxtst ~]$
[kubeadmin@xl8phxc360awxtst ~]$ kubectl get pods awx-postgres-0 -o jsonpath='{.spec.containers[*].name}'
postgres[kubeadmin@xl8phxc360awxtst ~]$
[kubeadmin@xl8phxc360awxtst ~]$ kubectl get pods awx-operator-controller-manager-6c69f7cdb-fd7fp -o jsonpath='{.spec.containers[*].name}'
kube-rbac-proxy awx-manager[kubeadmin@xl8phxc360awxtst ~]$
[kubeadmin@xl8phxc360awxtst ~]$
[kubeadmin@xl8phxc360awxtst ~]$
Now Please guide me how can I add my hostAliases in my running AWX.
Below the entry I need to add in my awx pod /etc/hosts!!!
hostAliases:
- ip: "x.x.x.x"
hostnames: "basemachine"
- ip: "x.x.x.x"
hostnames: "ansiblemaster"