Member-only story

Production like Kubernetes on Raspberry Pi: Ingress

Michael Tissen
4 min readJan 30, 2022

--

In this series i want to create a production grade kubernetes cluster which can be very useful at least in a home environment but maybe also for some small bussiness environments.

Photo by Nastya Dulhiier on Unsplash

The Plan

The problem

Access a concrete service in your network

In the last part we added a load-balancer which enabled having one ip to access the whole cluster. But how can i reach a specific service in the cluster?
Ingress-controller is the keyword.

Solution: Ingress-controller

Using a ingress-controller

To access service A we type in our browser “service-a.local” the request goes through our router to the load-balancer which can reach the cluster. When we reach the cluster the request goes to the ingress-controller which is listening on port 80 and port 443.

The ingress-controller is requested with the dns-name “service-a.local” and route the request to the specific service A on the matching node.

The implementation

We use traefik as our ingress-controller. The easiest way to install traefik is with the helm package manager. Follow…

--

--

Michael Tissen
Michael Tissen

Written by Michael Tissen

Loves sport, software-engineering and music

Responses (2)

Write a response