Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expose the port of the service

Info
titleLinux shell command

export NODE_PORT=$(kubectl get services/kubernetes-bootcamp -o go-template='{{(index .spec.ports 0).nodePort}}')

...