The below example shows how to expose Kubernetes Deployment. The expose command exposes the container port (target-port) 80 on the host 8000 binding to the external-ip of the host.