Skip to content

Instantly share code, notes, and snippets.

@rupinus85
Created January 10, 2019 08:03
Show Gist options
  • Save rupinus85/fd808aba00f10fef4f3a82a31910df40 to your computer and use it in GitHub Desktop.
Save rupinus85/fd808aba00f10fef4f3a82a31910df40 to your computer and use it in GitHub Desktop.
# Service object 조회를 통해 NodePort를 알아냅니다.
# 8081:30993/TCP 에서 30993이 외부로 노출된 NodePort 입니다.
$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
gs-spring-boot-docker-service NodePort 10.99.197.147 <none> 8081:30993/TCP 12m
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 14d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment