Hawaiideveloper / Infastructure-as-Code-Sample_Env

Take your infrastructure mobile and restore on bare metal, or into your favorite borrowed hardware aka cloud
1 stars 3 forks source link

Service Configuration File #46

Closed Hawaiideveloper closed 3 years ago

Hawaiideveloper commented 3 years ago

Service Configuration

Screen Shot 2021-07-08 at 5 02 09 PM

Hawaiideveloper commented 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

Screen Shot 2021-07-08 at 8 22 04 PM

To get an additional output you can use:

$ kubectl get pod -o wide

Screen Shot 2021-07-08 at 8 26 30 PM

To get all components $ kubectl get all

Screen Shot 2021-07-08 at 8 31 28 PM

You can use grep to get partial info: $ kubectl get all | grep mongodb

Screen Shot 2021-07-08 at 8 33 14 PM
Hawaiideveloper commented 3 years ago

PR submitted https://github.com/Hawaiideveloper/Infastructure-as-Code-Sample_Env/pull/47 and completed