Member-only story

Use Ingress In Minikube

Maciej
4 min readApr 20, 2021

--

Source: https://kubernetes.world

At the beginning

With minikube addons enable ingress we can easy to get started with Ingress in Minikube. We can resolve the host name set in Ingress on the local name server to use it more comfortably. It’s also easy to use nginx-ingress-controller instead of Minikube’s standard Ingress Controller, which is more comfortable with a custom Cluster Add-on. If you are using Ingress in production, you want to use Ingress to verify the operation on your local Minikube.

To use Ingress, you need an Ingress Controller that configures L7 LB based on the created Ingress object. For example in GKE, there is an Ingress Controller that controls the Google Cloud Load Balancer (GCLB), and the GCLB is set according to the definition of the Ingress object. The local cluster created by Minikube, of course, does not have L7 LB.

Minikube provides a feature called addons that allows you to manage add-ons such as Kubernetes Dashboard, heapstar, and kube-dns. One of the add-ons is , nginx-ingress-controller that uses nginx as L7 LB of Ingress is provided, so you can easily start using Ingress.

Let’s start

Check if Your Minikube is Up and runnign if not just start minikube.

ozyrys@ozyrys-Lenovo-ideapad-700-15ISK:~$ minikube start
* minikube v1.19.0 on Ubuntu 20.10
* Automatically…

--

--

Maciej
Maciej

Written by Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.

No responses yet