Skip to content

electrocucaracha/k8s-Ingress-demo

Repository files navigation

Kubernetes Ingress Demo

License GitHub Super-Linter Ruby Style Guide End-to-End status

visitors

Summary

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.

Dashboard

Virtual Machines

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.

Environment variables

Name Description
DEBUG Enable verbose output during the execution.(Boolean value)
INGRESS_CONTROLLER Determine the Ingress Controller to be used.(String value)