Kong Ingress Demo
This is a collection of scripts designed to show case how the Kong Ingress works and how to configure it.
How it works:
In each directory in demos/
you will find a manifest.yaml
, in the corresponding README.md
you will find a description of what the configuration for that directory does. You will notice some steps depend on you having run previous steps. The dependencies will be listed in the README.md
Getting Started
Dependencies
This repo assumes you have the following tools installed:
Note This repo has been tested on Debian and MacOS.
Start up and install
Starting a K3D cluster:
make k3d-up
Installing Kong:
make kong-install
You should now have a fully functioning Kong Ingress Install, to validate:
$ kubectl -n kong get pods
NAME READY STATUS RESTARTS AGE
postgres-0 1/1 Running 0 26m
kong-migrations-65bzs 0/1 Completed 0 26m
ingress-kong-59647d65b9-zh8xd 2/2 Running 0 26m
Steps:
- Deploy Echo Service
- Deploy Ingress Routing
- Create Consumer and Credentials
- Enable Key Authentication On Your Service
- Enable JWT Authentication On Your Service
- Enable Rate Limiting Authentication On Your Service
Clean Up
to remove everything just run
make k3d-down
This will destroy the cluster and the install with it.