expose
Create a service for a replication controller identified by type and name specified in “nginx-controller.yaml”, which serves on port 80 and connects to the containers on port 8000
Create a second service based on the above service, exposing the container port 8443 as port 443 with the name “nginx-https”
Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on port 8000
Expose a resource as a new Kubernetes service.
Possible resources include (case insensitive):
pod (po), service (svc), replicationcontroller (rc), deployment (deploy), replicaset (rs)