💻 Tech
In relation to yesterday’s journal, to connect one of your pods to a service serving MongoDB, you can use this as the DB host: service_name.namespace.svc.cluster.local. When you create a service for the pod the serves MongoDB, it can just be of ClusterIP type.