This project was created to demonstrate how to configure and use the Kubernetes Ingress resource. This demo uses NGINX or Contour as Ingress Controller and the KinD tool for deploying a multinode Kubernetes cluster.
The Vagrant tool can be used for provisioning an Ubuntu Focal Virtual Machine. It's highly recommended to use the setup.sh script of the bootstrap-vagrant project for installing Vagrant dependencies and plugins required for this project. That script supports two Virtualization providers (Libvirt and VirtualBox) which are determine by the PROVIDER environment variable.
curl -fsSL http://bit.ly/initVagrant | PROVIDER=libvirt bash
Once Vagrant is installed, it's possible to provision a Virtual Machine using the following instructions:
vagrant up
The provisioning process will take some time to install all dependencies required by this project and perform a Kubernetes deployment on it.
Name | Description |
---|---|
DEBUG | Enable verbose output during the execution.(Boolean value) |
INGRESS_CONTROLLER | Determine the Ingress Controller to be used.(String value) |