expose deployment nodeport command code example Example: expose deployment nodeport command kubectl expose deployment hello-world --port=80 --type=NodePort