Questions tagged [kong-ingress]

107 questions
2
votes
1 answer

How to configure Sub Domain on Kong Ingress Controller

We are trying to replicate the existing Traefik configuration with Kong Ingress Controller on Kubernetes cluster. Currently, I'm trying to configure the sub domain in Kong ingress controller and not sure how exactly to proceed with this. Below code…
Vamshi Siddarth
  • 620
  • 1
  • 4
  • 19
2
votes
1 answer

strip_path and preserve_host attributes in KongIngress object. What do they do?

I have a KongIngress object configuration attributes regarding to Ingress resource which call to kong as an Ingress controller. I actually have this configuration: apiVersion: configuration.konghq.com/v1 kind: KongIngress metadata: name:…
2
votes
0 answers

How can I resolve "invalid response ... from upstream server" in Kong ingress with KeyCloak?

I have managed to run KeyCloak and Kong on minikube with kubernetes-version='v1.13.11'. I'm using this version because I want to deploy to GCP cluster eventually. When I try to open PROXY_IP:HTTP_PORT/auth I get following response: **"Kong Error An…
Michal Olechowski
  • 636
  • 1
  • 8
  • 25
2
votes
1 answer

Kubernetes Ingress perform authorization before route, like api gateway

It's possible to perform an authorization(rule-based like) into Kubernetes ingress(like kong, nginx). For example, i have this: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: foo-bar spec: rules: - host: api.foo.bar http: …
2
votes
0 answers

Kong Ingress Controller with CORS plugin failed with preflight connect

I use the CORS plugin with Kong ingress controller, whitin Postman, the API works great, the response includes an Access-Control-Allow-Origin: * header. But when I made cors request in Chrome, it report: Response to preflight request doesn't pass…
Franci
  • 2,157
  • 1
  • 21
  • 33
1
vote
0 answers

Kong Gateway - Updating request JSON using request-transformer plugin

I am using Kong 3.3.0 in db-less mode using declarative yaml. I'm trying to update the request body with a value present in the headers. If I set a top-level JSON attribute it all works OK. When I try and update the value in a sub-object within the…
1
vote
0 answers

Onboarding openapi to Kong deployed on kubernetes cluster

Onboarding open api yaml into Kong. I need to figure out a way to configure my openapi yaml(declarative config yaml generated via insomnia) to Kong(OSS version) that is deployed on K8s. I have a simple open api yaml (generated using insomnia) which…
1
vote
1 answer

Redis Insight. Are you behind a proxy? If so, please set the RedisInsight environment variables

I deployed RedisInsight in a Kubernetes Cluster, and expose it using a Kong Ingress. When I access it in the web I never pass the privacy settings, it tell me "Something went wrong submitting your preference. Are you behind a proxy? If so, please…
rEVOLution
  • 39
  • 8
1
vote
0 answers

Do not forward X-Forwarded-For header when set by non-trusted IP

I am using a Kong Ingress Controller to route the traffic to my cloud services. One of these services (Keycloak) uses the value of X-Forwarded-For for some of its functionalities. Currently, if an external client tries to call Keycloak with a value…
1
vote
0 answers

Inconsistent behaviour while achieving stickiness using Kong Ingress controller

I am using Kong ingress controller on EKS. High level flow: NLB → Kong ingress controller and proxy(running in the same pod) → k8s service → backend pods I am trying to achieve stickiness using hash_on cookies configuration on upstream. I am using…
1
vote
0 answers

why does the Kong Manager throws Network error when I try to add new services/routes

We have installed Kong enterprise free edition 3.0.0 on Azure Kubernetes Service. Installation is done via Kong's Helm chart. We are able to access the Kong Manager without any issue. But, when I try to add a new "Service" via the manager portal, it…
Senthil
  • 27
  • 6
1
vote
1 answer

Why does deploying a Kong ingress controller auto provisions a Azure load balancer in Azure Openshift kubernetes

I have created an Openshift cluster where my pods and services are running. Before creating an ingress, i deployed a Kong ingress controller that auto provisioned a Azure load balancer. From my understanding, Kong uses Nginx that can be configured…
Sana.91
  • 1,999
  • 4
  • 33
  • 52
1
vote
1 answer

Kong Ingress controller defining multiple HTTPS ports

I am setting up a Kong ingress controller, however, the default ingress controller listening ports are 80/443. I need to add an additional HTTPS port (8080). I can change the default HTTPS port using the servicePort in the values file, however this…
lion_bash
  • 1,309
  • 3
  • 15
  • 27
1
vote
1 answer

Can I deploy kong-proxy with the type NodePort instead of type LoadBalancer?

I am using this yaml file for deployment - https://raw.githubusercontent.com/Kong/kubernetes-ingress-controller/master/deploy/single/all-in-one-dbless.yaml I'm wondering if I can install Kong with type NodePort? My enterprise cloud isn't allowing me…
Sankalp
  • 1,182
  • 2
  • 17
  • 22
1
vote
0 answers

how can i setup comodo SSL in kong api gateway using helm?

i wanna ask something, how can i setup comodo SSL in kong api gateway using helm? cause i've been installed using repo helm chart on documentation, and generate certmanager/lets encrypt. i want to try custom ssl in kong api gateways runnning from my…