Add Ingress
Prerequisites
Section titled “Prerequisites”This section follows on from Add Longhorn Storage. Be sure to complete that before commencing with this.
if not already shelled into the workstation, from /home/user/projects/infctl-cli
we need to change directory to
cd vagrant/dev/ubuntu/
so we can ssh to the workstation
vagrant ssh workstation
Familiarise yourself with …
Section titled “Familiarise yourself with …”- install_metallb.sh applies a kubernetes manifest to install metallb and then applies an
IPAddressPool
andL2Advertisement
which will be used later bytraefik
to access a loadbalancer in order to expose services so that we can access them from outside of kubernetes. This is a key part of MVK and one which does not exist in Kubernetes as this is typically expected to be provided by a managed kubernetes cloud service. - install_traefik.sh sets up some custom variables to enable an internal dashboard, ports for ingress, log level and loadbalancer.
Run the pipelines …
Section titled “Run the pipelines …”The metallb pipeline can be run with :
LOG_FORMAT=basic infctl -f pipelines/vagrant-metallb.json
traefik ingress can be installed with
LOG_FORMAT=basic infctl -f pipelines/vagrant-ingress.json