Openshift kong ingress with host issue

Hi, I am beginner to the kong. I have deployed a kong in openshift using helm chart. Kong proxy and kong ingress controller installed successfully.

I have deployed a sample application and created route for the service and could accessible. Now i have created a simple ingress rule with host name.

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: demo-example-com2
spec:
rules:

  • host: exe.com
    http:
    paths:
    • path: /test
      backend:
      serviceName: welcome-application1
      servicePort: 8000

And tried to access the host using the below command
curl -i -X GET --url http://kong.route.url/ --header ‘Host: exe.com’.
It is showing service is unavailable.

Do i need to deploy king:kongingress for this ?

Kindly help.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ