DEV Community

Discussion on: My first DevOps job interview Part 2 of 3

Collapse
 
anduser96 profile image
Andrei Gatej

Thanks for sharing. I didn't know about devopswithkubernetes, seems interesting!

I have a small question which I'd be very thankful if you could share your thoughts on. What would be a good way to set up a dev environment for an application that uses microservices?

Assuming there will be like 5 containers(1 for front-end and the rest for back-end), my inexperienced approach would be to clone each service locally and properly configure docker-compose. However, I feel like this is not the wisest approach.

Thank you!

Collapse
 
niklasmtj profile image
Niklas

Hey Andrei,

to be honest I would also configure myself a docker-compose setup. For a quick setup this should be straightforward. You can easily expose the container ports to your local machine. You can also use something like k3d like I did but for development this can be a little bit overkill since you also have to manage the Kubernetes resources. So yeah, go with a good old docker-compose setup is a good start :)

Collapse
 
anduser96 profile image
Andrei Gatej

Thanks for your input!