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

Making Mongo-Express accessible externally using K8s #54

Closed Hawaiideveloper closed 3 years ago

Hawaiideveloper commented 3 years ago

See ref here for load balancer sections

Screen Shot 2021-07-08 at 10 40 33 PM

Hawaiideveloper commented 3 years ago

nodePort

Screen Shot 2021-07-08 at 10 55 32 PM
Hawaiideveloper commented 3 years ago

External IP address is pending because it works differently in minikube.

Screen Shot 2021-07-08 at 10 57 31 PM

The way to fix is to:

$ minikube service mongo-express-service

Screen Shot 2021-07-08 at 11 00 58 PM
Hawaiideveloper commented 3 years ago

Screen Shot 2021-07-08 at 11 02 44 PM

Hawaiideveloper commented 3 years ago

It now works and we now have kubernetes managing a mongodb pod.

Now closing