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.
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-authDeployment, located in the
defaultnamespace. 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
/authto port 80 on the Service.