expose deployment nodeport command

JavaScript
kubectl expose deployment hello-world --port=80  --type=NodePort
Source

Also in JavaScript: