Category: Deployment, Kubernetes, nginx

Hey there, setting up an Ingress Controller on your Kubernetes cluster? We will setup a simple “hello-world” api and expose the api using the nginx-ingress-controller on a local cluster using Minikube. Assuming that you already have Kubectl and Minikube setup, let’s deploy our hello-world api and expose it within our cluster as a NodePort Service.

Running a Curl request to the exposed endpoint should give us a response from the default-backend as we still haven’t configured our ingress to point to our hello-world api.

We now have an Nginx web server configured that routes traffic for api.sample.com to our configured hello-world-svc.It falls back to the default-backend service for unhandled requests.

Related Articles