This project demonstrates how to configure and use the Kubernetes Ingress resource. It showcases two different Ingress Controllers: NGINX and Contour. The demo runs on a multi-node Kubernetes cluster deployed using KinD (Kubernetes in Docker).
You can use Vagrant to provision an Ubuntu Focal virtual machine. To simplify the setup, use the setup.sh script provided by the bootstrap-vagrant project. This script installs the required Vagrant dependencies and plugins.
It supports two virtualization providers:
- Libvirt
- VirtualBox
Specify the provider using the PROVIDER environment variable. For example:
curl -fsSL http://bit.ly/initVagrant | PROVIDER=libvirt bash
Once Vagrant is ready, provision the virtual machine by running:
vagrant up
The setup process may take some time as it installs all dependencies and deploys Kubernetes.
Name | Description |
---|---|
DEBUG | Enable verbose output during the execution.(Boolean value) |
INGRESS_CONTROLLER | Determine the Ingress Controller to be used.(String value) |