Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active July 3, 2020 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/d50508157de62728e5a236a0be36c6eb to your computer and use it in GitHub Desktop.
Save velotiotech/d50508157de62728e5a236a0be36c6eb to your computer and use it in GitHub Desktop.
$ kubectl expose deployment nginx --target-port=80  --type=NodePort
$ kubectl expose deployment echoserver --target-port=8080 --type=NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment