Skip to content

Instantly share code, notes, and snippets.

@anderson-marques
Last active June 7, 2019 12:55
Show Gist options
  • Save anderson-marques/4fc1b7d7a9bc6d95857284aca389a301 to your computer and use it in GitHub Desktop.
Save anderson-marques/4fc1b7d7a9bc6d95857284aca389a301 to your computer and use it in GitHub Desktop.
Kubernetes Commands

K8S Commands

Expose POD as a Load Balanced Service

$ kubectl expose pod [pod-name] --name=[service-name] --type=LoadBalancer

Describe Service Information

$ kubectl describe services [service-name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment