Hi all,
I’m newbie to Kubernetes and AWX. Tried to setup a testing AWX installation following https://computingforgeeks.com/install-and-configure-ansible-awx-on-centos/.
Can see the services are running:
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
awx-operator-controller-manager-metrics-service ClusterIP 10.43.128.115 8443/TCP 47h
awx-postgres-13 ClusterIP None 5432/TCP 5m5s
awx-service NodePort 10.43.244.106 80:30080/TCP 4m46s
kubectl get ep
NAME ENDPOINTS AGE
awx-operator-controller-manager-metrics-service 10.42.0.9:8443 47h
awx-postgres-13 10.42.0.22:5432 5m24s
awx-service 10.42.0.24:8052 5m5s
However, i’m unable to access the web ui through 10.42.0.24:8052 (connection refused).
Tried to do port forwarding but fails when connecting to the forwarding port 10045:
kubectl port-forward service/awx-service --address 0.0.0.0 10045:80
Forwarding from 0.0.0.0:10045 → 8052
Handling connection for 10045
E0105 17:02:39.177729 653748 portforward.go:406] an error occurred forwarding 10045 → 8052: error forwarding port 8052 to pod 952b46fc21f6730cfa1b9694c4673b71e66dc21db9d728f8c3bcf143c9d1372e, uid : failed to execute portforward in network namespace “/var/run/netns/cni-1b90f8e2-6d01-a202-e53b-6641a9c4cad9”: failed to connect to localhost:8052 inside namespace “952b46fc21f6730cfa1b9694c4673b71e66dc21db9d728f8c3bcf143c9d1372e”, IPv4: dial tcp4 127.0.0.1:8052: connect: connection refused IPv6 dial tcp6 [::1]:8052: connect: connection refused
E0105 17:02:39.179645 653748 portforward.go:234] lost connection to pod
Tried to add ingress service but
— cut here —