Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active July 3, 2020 11:07
Show Gist options
  • Save velotiotech/c9d1f06697f4a715ffe41d8e77dfe93d to your computer and use it in GitHub Desktop.
Save velotiotech/c9d1f06697f4a715ffe41d8e77dfe93d to your computer and use it in GitHub Desktop.
$ kubectl create -f mongodb-deployment.yaml
$ kubectl create -f testapp-deployment.yaml$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 172.20.0.1 <none> 443/TCP 12m
mongodb-service ClusterIP 172.20.55.194 <none> 27017/TCP 4m
test-service LoadBalancer 172.20.188.77 a7ee4f4c3b0ea 80:31427/TCP 3m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment