Kubernetes Ingress allows you to customize how external entities can interact with your Kubernetes applications via the network. This lab will allow you to exercise your knowledge of Kubernetes Ingress. You will use Ingress to open access from an existing service to an external server.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Service to Expose the web-auth Deployment
Create a service that will expose the Pods from the
web-auth
Deployment, located in thedefault
namespace. The Deployment’s Pods publish port 80. Expose port 80 on the Service itself as well.- Create an Ingress That Maps to the New Service
Create an Ingress that maps to the new Service. This Ingress should route requests with the path
/auth
to port 80 on the Service.