This is a collection of scripts designed to show case how the Kong Ingress works and how to configure it.
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
This repo assumes you have the following tools installed:
Note This repo has been tested on Debian and MacOS.
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
- 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
to remove everything just run
make k3d-down
This will destroy the cluster and the install with it.