$ kubectl expose deployment <deployment_name> --type=NodePort --port=<port>
Expose a deployment as a service on a specific port.