Skip to content

Instantly share code, notes, and snippets.

@j-zimnowoda
Last active September 30, 2019 07:55
Show Gist options
  • Save j-zimnowoda/b0a6b1fedb82ac5ffdc83b55c36f5a77 to your computer and use it in GitHub Desktop.
Save j-zimnowoda/b0a6b1fedb82ac5ffdc83b55c36f5a77 to your computer and use it in GitHub Desktop.
$ kubectl get service web -o yaml
apiVersion: v1
kind: Service
spec:
clusterIP: <s-ip>
ports:
- nodePort: <n-port>
port: <s-port>
targetPort: <p-port>
type: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment