Skip to content

Instantly share code, notes, and snippets.

@netodevel
Created February 22, 2023 23:03
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 netodevel/3d3d4d45b5da45385c2c01795d8b3d58 to your computer and use it in GitHub Desktop.
Save netodevel/3d3d4d45b5da45385c2c01795d8b3d58 to your computer and use it in GitHub Desktop.
kubectl create deployment nginx --image=nginx
kubectl create service nodeport nginx --tcp=90:80
kubectl get pods
kubectl port-forward ${nome_do_seu_pod} 8083:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment