Introduction
In Kubernetes, the expose
command is used to create a service that exposes the Kubernetes service on a specific port to the outside world. The expose
command creates a new Kubernetes service and also creates a new Kubernetes endpoint object that binds the service to the pods running in the Kubernetes cluster.
In this lab, we will go through the steps required to use the Kubernetes expose
command to create a new service.