I am trying to configure kong ingress controller for apache nifi.
About nifi:
Apache nifi instance is running on minikube, and it exposes a rest api that can be accessed with URLs:
http://ip:port/nifi-api/....
calls t /nifi-api work and results are returned as expected.
Service name for nifi instance in its yaml is 'nifi'.
For kong:
Installed kong on minikube, following this. I can see kong resources created.
For creating ingress to put nifi api behind kong, following this.
My ingress yaml:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nifi-api-routing
annotations:
konghq.com/strip-path: 'true'
spec:
ingressClassName: kong
rules:
- host: kong.example
http:
paths:
- path: /nifi-api
pathType: ImplementationSpecific
backend:
service:
name: nifi
port:
number: 30026
backend.service.name and backend.service.port are from service yaml for nifi. path is '/nifi-api' as nifi exposes its endpoints at it. host name 'kong.example' is same as one used in link.
My question is what all this means to client. If I call:
http://kong.example/nifi-api/...
It doesn't work. Browser cant reach the site.
curl -i $PROXY_IP still says 'no route matched with those values'.