Questions tagged [kong]

Kong is a cloud-native, fast, scalable, and distributed Microservice Abstraction Layer (also known as an API Gateway or API Middleware). Made available as an open-source project in 2015, its core values are high performance and extensibility. Actively maintained, Kong is widely used in production at companies ranging from startups to Global 5000 as well as government organizations.

Kong is an open-source (under Apache Version 2.0 license) management layer for Microservices and APIs, delivering high performance and reliability. Built on top of NGINX, Kong can be fully operated with a simple and easy to use RESTful API.

It provides an easy way to add extra functionality to APIs and microservices through the use of Kong Plugins.

741 questions
53
votes
7 answers

Using Keycloak behind a reverse proxy: Could not open Admin loginpage because mixed Content

so I have a problem getting keycloak 3.2.1 to work behind kong (0.10.3), a reverse proxy based on nginx. Scenario is: I call keycloak via my gateway-route via https://{gateway}/auth and it shows me the entrypoint with keycloak logo, link to admin…
Dominik
  • 2,801
  • 2
  • 33
  • 45
30
votes
4 answers

Docker - check if postgres is ready

I have a Kong API Gateway container and a postgres container and I need to check whether postgres has started up and ready from the Kong container before running the migrations. I was thinking of installing the postgres client utilities into a…
super.t
  • 2,526
  • 7
  • 32
  • 51
27
votes
3 answers

How to run bash as user root on alpine images with docker? su: must be suid to work properly

Edit: The answer is so clear. One may use the flag --user root when entering the container. docker exec -it --user root mycontainername bash or sh I just downloaded this official docker hub's 1.5.0-alpine image for a service (Kong…
ofundefined
  • 2,692
  • 2
  • 18
  • 35
22
votes
1 answer

How do I use an API Gateway in conjunction with microservices and JWTs?

Afternoon y'all, Just looking for someone to double check my work. Is the below an effective way to secure microservices? Premise Breaking up our monolithic application and monolithic Partner API into microservices oriented around specific business…
Sean Lindo
  • 1,387
  • 16
  • 33
19
votes
1 answer

Netflix-Zuul vs Mashape-Kong

Both Zuul and kong serve as a good API gateway layer in a microservices architecture. What are some important differences between these two?
ChrisOdney
  • 6,066
  • 10
  • 38
  • 48
18
votes
3 answers

Is there a comprehensive comparison between Tyk vs Kong?

I have been developing microservices (Spring Cloud) for a while (~2 years) and heavily used Netflix Zuul. While it offers a lot of functionalities and great features, my developer mind wandered towards knowing about the alternatives and came to know…
zeagord
  • 2,257
  • 3
  • 17
  • 24
15
votes
4 answers

Is keycloak behind api gateway a good practice?

What are good arguments in favor to use or not to use Keycloak behind Api gateway (Kong)?
Bro
  • 569
  • 1
  • 5
  • 15
14
votes
2 answers

How good is Krakend compared to Kong?

I am stuck in choosing One API gateway from the three API gateways mentioned below: KrakenD (https://www.krakend.io/) Kong (https://konghq.com/kong/) Spring Cloud Gateway (https://cloud.spring.io/spring-cloud-gateway/reference/html/) My…
10
votes
1 answer

How to increase max request body size on nginx ingress controller and kong

I have an a service that accepts POSTs with base64 encoded files in the body. I'm currently getting Error: 413 Request Entity Too Large when I POST anything larger than 1MB, otherwise it works fine. My setup has kong proxying to the service. I have…
dweeb
  • 539
  • 2
  • 6
  • 21
10
votes
3 answers

Kong and JWT without creating consumers

I am currently playing around with the Kong API Gateway and I would like to use it to validate the authentication of users at the gateway and restrict access to services if the user is not logged in properly. I have an authentication service which…
Magnus
  • 390
  • 2
  • 12
9
votes
3 answers

Error {"message":"failure to get a peer from the ring-balancer"} using kong ingress

Getting error msg when I trying to access with public IP: "{"message":"failure to get a peer from the ring-balancer"}" Looks like Kong is unable to the upstream services. I am using voting app ingress.yaml apiVersion: extensions/v1beta1 kind:…
Vikas Kalra
  • 115
  • 1
  • 1
  • 6
8
votes
1 answer

Cert-Manager Certificate Renewal process - How it is performed?

I am using cert-manager-v0.10.0 installed from its helm chart I am using kong like ingress controller to manage the ingress operations. So I have created a ClusterIssuer resource in order it could be contacted from an Ingress resource via…
bgarcial
  • 2,915
  • 10
  • 56
  • 123
8
votes
3 answers

Authentication with Kong

I'm looking at Kong to replace my current hand-rolled NodeJS API gateway. Currently I have a user service that handles authentication (written in Django) by providing a JWT back upon login, which the client then passes in through a header. My…
7
votes
0 answers

Using env variables in kong.yml with Kong and Docker-compose

I am trying to use Kong in declarative way with a kong.yml file. I want to be able to use environment variables in the kong.yml file. I have the following content in my docker-compose: kong: image: kong:2.7.0-alpine restart: "always" …
Spider
  • 875
  • 2
  • 9
  • 27
7
votes
0 answers

How to get permission response decision from keycloak authorization server

I am using kong as my api-gateway and using a plugin kong-oidc for authentication using keycloak. Authentication process is smooth and running fine. Now I want to add authorization for the requests made to kong for different microservices. I am…
Ahmed Nawaz Khan
  • 1,451
  • 3
  • 20
  • 42
1
2 3
49 50