Hello
Plz I need your help
Im running in to issue , I've create a project called Salut, expose the service bonjour
[root@master network-scripts]# oc get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
bonjour ClusterIP 172.30.242.91 <none> 8080/TCP,8443/TCP 23h
[root@master network-scripts]# oc get routes
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
bonjour bonjour-salut.apps.fok.geonet bonjour 8080-tcp None
[root@master network-scripts]#
I can curl http://172.30.242.91:8080
I cannot curl the svc/route bonjour-salut.apps.fok.geonet
[root@master network-scripts]#
[root@master network-scripts]# curl http://bonjour-salut.apps.fok.geonet:8080
curl: (7) Failed connect to bonjour-salut.apps.fok.geonet:8080; Connection refused
[root@master network-scripts]#
DNS wildcard is configured on my home DNS.
Can you please help on this?
for the service run 'curl http://bonjour.salut.svc.cluster.local:8080', but take care run this from a machine inside of the cluster! (dig bonjour.salut.svc.cluster.local should give you 172.30.242.91)
for the route ... there's a connection refused! Check DNS (dig bonjour-salut.apps.fok.geonet) it should give you the ip of your wildcard loadbalancer!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.