Questions tagged [kong-ingress]
107 questions
0
votes
0 answers
kubernetes and kong ingress redirecting post request to get - why and how do I change this behaviour?
I am in a strange situation I cannot understand how to debug.
In an enterprise, I am given a company-managed Kubernetes cluster.
I created a load-balancer for this cluster so that it is accessible inside the company on the domain name…

Amin Ba
- 1,603
- 1
- 13
- 38
0
votes
0 answers
How to Kong EE Configuration for Multiple Services to reduce cost
I'm configuring multiple services in KONG CE, but in KONG EE it costs about 250$ per service per months( and we have 20 of them).
services:
- host: service1.com
name: service1
port: 8000
route: ...
- host: service2.com
name:…

phuongdo
- 271
- 1
- 4
- 9
0
votes
0 answers
why kong oauth2 does not block the request even I add oauth2 plugin for the service
I followed the steps in https://tech.aufomm.com/how-to-use-kong-oauth2-plugin/, but the service is still able to access even the oauth2 plugin is added for the service.
I am not sure if it the deployment issue. below is the deployment…
0
votes
0 answers
Kong ingress not working with OPTIONS call, throwing CORS error
I am new to KONG, I am using the CORS plugin of the Kong.
I did all configuration correctly in my kong.yml file. My endpoint is deployed successfully and I can hit it through postman as well.
But when React UI calls my endpoint on Submit button…

user7078
- 13
- 3
0
votes
1 answer
Kong request-transformer: Replace URI attribute with header value
I am using Kong-transformer to reroute endpoints. however, before i reroute, i want to replace a "variable" in the uri with a header value.
Here's an example:
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name:…

Sinan NourEddine
- 45
- 4
0
votes
0 answers
Kong 2.6.0: Which versions of Postgres are supported?
I'm currently using Kong 2.6.0 and I need to know which versions of Postgres are supported by this version of Kong. I've checked the Kong documentation, but I couldn't find a clear answer.
Can someone please tell me which versions of Postgres are…

Gowtham Raj
- 103
- 2
- 13
0
votes
1 answer
Kong Ingress Controller preserving client ip address
The problem at hand concerns preserving the client's original IP address while utilizing the Kong Ingress Controller in a GKE cluster. Following the Kong documentation, I added the "externalTrafficPolicy: Local" annotation to the Kubernetes service…

Pedro Guilherme
- 77
- 7
0
votes
0 answers
Konga service to require authentication for certain routes and no need authen for others, while also adding a strip path for a specific route
I am setting a service in Konga that require authentication for certain routes (I am using Keycloak JWT token) and allow anonymous access for others, while also adding a strip path for a specific route.
But the problem is when we have a route enable…

cuongnh
- 1
0
votes
0 answers
How to enable Kong Manager in a Cloud Kubernets Cluster?
I have a cloud hosted Kubernetes cluster and I already have a Kong Ingress and I want to deploy a Kong API Gateway with a GUI.In the docs is Kong Manager, but my doubt is that in the example they use localhost, how would it be the configuration in…

rEVOLution
- 39
- 8
0
votes
2 answers
Regex doesnt work after kong upgrade to version 3.x
Regex doesnt work after kong upgrade to version 3.x.
After upgrading from kong 2.7 to 3.2, regex stopped working.
Regex pattern used in 2.7: /payment/(docs|health)
Regex pattern used in 3.2: /~payment/(docs|health)
Also tried to use…

Gauri Joshi
- 33
- 5
0
votes
0 answers
XFF header in kong ingress
I've recently started to work with kong, on my ngnix ingress I had XFF header set as follows:
annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/configuration-snippet: | more_set_headers "X-Forwarded-For…
0
votes
0 answers
How to expose MySQL database in kubernetes using Kong Gateway?
I installed kong using helm chart. In values.yaml I specified two TCP ports in Stream section:
stream:
- containerPort: 39019 #MongoDB
servicePort: 39019
protocol: TCP
parameters:
- ssl
- containerPort: 43576 #MySQL
servicePort: 43576
…

Andy Schmitt
- 441
- 1
- 6
- 23
0
votes
1 answer
k8s ingress v1.22 wildcard path issue
i have some problem with wildcard path when i convert apiVersion: networking.k8s.io/v1 because of version update k8s v1.22
The wildcard path in the back doesn't matter
i have a problem changing the wildcard path between like this abcd/*/bcde
this is…

Koon7022
- 73
- 1
- 1
- 8
0
votes
0 answers
Failed to dial target host "kong-proxy-service-external-ip:443": context deadline exceeded
I am trying to use Kong API Gateway with Using Ingress with gRPC but getting below error.
Failed to dial target host "kong-proxy-service-external-ip:443": context deadline exceeded
I am using minikube cluster for deplyment.
I followed all the steps…

Saurabh Sharma
- 463
- 2
- 7
- 20
0
votes
1 answer
Kong Ingress default string append in URL
In my project we have configured Kong Ingress as API gateway.
When we configured Ingress as follows
ingress:
name: kong-ingress
annotations:
konghq.com/strip-path: "true"
rules:
- http:
paths:
- path: /api
pathType:…

Sri hari
- 9
- 4