Hi, i have got a question in my team how to deal with an Ingress rule related issue he is trying to resolve with Kong Gateway API, hope someone has some advice on the problem and how to approach resolving it.
An example of the ingress is
{
"apiVersion": "extensions/v1beta1",
"kind": "Ingress",
"metadata":
{
"name": "hello-world",
"namespace": "$NAMESPACE",
"annotations":
{
"[ingress.kubernetes.io/secure-backends](http://ingress.kubernetes.io/secure-backends)": "true",
"[ingress.kubernetes.io/backend-protocol](http://ingress.kubernetes.io/backend-protocol)": "HTTPS",
"[ingress.kubernetes.io/use-regex](http://ingress.kubernetes.io/use-regex)": "true"
}
},
"spec":
{
"tls": [
{
"hosts": [
"hello-world-$NAMESPACE-[place-holder].[co.uk](http://co.uk)"
]
}
],
"rules": [
{
"host": ""hello-world-$NAMESPACE-[place-holder].[co.uk](http://co.uk)",
"http":
{
"paths": [
{
"path": "/test1/api",
"backend":
{
"serviceName": "api1-svc",
"servicePort": 443
}
},
{
"path": "/test1/api/history",
"backend":
{
"serviceName": "history-api-svc",
"servicePort": 443
}
}
]
Example 1
GET request
{
"path": "/test1/api/(.+)/birthday",
"backend":
{
"serviceName": "birthday-api-svc",
"servicePort": 443
}
},
}
POST request
{
"path": "/test1/api/(.+)/birthday",
"backend":
{
"serviceName": "person-info-api-svc",
"servicePort": 443
}
},
}
Kubernetes ingress on our given ingress controller currently has no way to redirect requests to different microservices that has the same resource path. (please see example 1)
I am looking for an Open source solution within Kong. How do I deploy kong gateway? via kong dbless mode or using Kubernetes Ingress Controller.
The reason I said kong dbless mode is because many team will be using this and we do not want to manager 100s of databases.```
Posted on Kong forum here
[https://discuss.konghq.com/t/how-should-i-deploy-kong-gateway-in-kubernetes/9435](https://discuss.konghq.com/t/how-should-i-deploy-kong-gateway-in-kubernetes/9435)