Hi all,
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 <none> 8443/TCP 47h
awx-postgres-13 ClusterIP None <none> 5432/TCP 5m5s
awx-service NodePort 10.43.244.106 <none> 80:30080/TCP 4m46s
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 ---
---
apiVersion:
networking.k8s.io/v1kind: Ingress
metadata:
name: awx-ingress
namespace: awx
spec:
rules:
- host:
host1.mydomain.com http:
paths:
- path: /
pathType: Exact
backend:
service:
name: awx-service
port:
number: 80
--- cut here ---
But when connecting to <server ip>:80/ or <server ip>:80/login, I got 404 page not found.
Would anyone please help?
Sorry for the newbie question.
Thanks and Regards