Open adityarudrawar opened 2 years ago
Hi Aditya.
How are you trying to access the db service in your app microservice?
Ideally you have to deploy the database cluster service first and then the name of the db service can be used to access database from your app service.
say if you create a cluster service for your database service with name 'sample-database' and container port '1234', then you can access the database as http://sample-database:1234 from your app service.
you can refer this: https://github.com/airavata-courses/vulcan/tree/feature-user-management/user-management/Kubernetes
I am creating a Microservice Deployment, a database Service. Struggling to connect them to each other.