I am using kubernetes playgrouds for running my containers, but how I can expose the service external to run it from my browser ?
Two steps will do it:
- Make sure the service is a NodePort service.
- Use the “…” menu on the upper right side of the window and select “View Port” item from it.
tried the same… getting 502 Bad Gateway page
If you do curl controlplane:NODEPORT
, what happens? If that works, so should “View Port”.