Closed Hawaiideveloper closed 3 years ago
$ kubectl describe service mongodb-service
Pod IP address is: 172.17.0.5:27017 ... where as the IP address is to the left and its listening port is to the right
To get an additional output you can use:
$ kubectl get pod -o wide
To get all components
$ kubectl get all
You can use grep to get partial info:
$ kubectl get all | grep mongodb
PR submitted https://github.com/Hawaiideveloper/Infastructure-as-Code-Sample_Env/pull/47 and completed
Service Configuration