Skip to content

rajdeepdas2000/kong-hybrid-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

kong-hybrid-setup

docker-compose -f cp.yaml up -d

docker-compose -f dp.yaml up -d

docker exec into control plane docker exec -it /bin/bash

apt-get update

apt-get install nano

kong hybrid gen_cert

cp /etc/kong/kong.conf.default /etc/kong/kong.conf

nano /etc/kong/kong.conf

set role = control_plane

set cluster_cert=/cluster.crt

set cluster_key=/cluster.key

kong reload

kong restart

docker exec into data plane docker exec -it /bin/bash

apt-get update

apt-get install nano

copy same cluster crt and key from control plane

cp /etc/kong/kong.conf.default /etc/kong/kong.conf

nano /etc/kong/kong.conf

set role = data_plane

set cluster_cert=/cluster.crt

set cluster_key=/cluster.key

set cluster_control_plane=control-plane:8005 #control-plane is name of the kong control plane docker container

kong reload

kong restart

cd into config

deck sync --config kong.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published