Skip to Main Content
Hands-On Microservices with Spring Boot and Spring Cloud
book

Hands-On Microservices with Spring Boot and Spring Cloud

by Magnus Larsson
September 2019
Intermediate to advanced content levelIntermediate to advanced
668 pages
15h 59m
English
Packt Publishing
Content preview from Hands-On Microservices with Spring Boot and Spring Cloud

Setting up common definitions in the base folder

In the base folder, we will have one definition file for each microservice, but none for the resource managers (MongoDB, MySQL, and RabbitMQ). The resource managers will only be deployed in Kubernetes in the development environment and are expected to run outside of Kubernetes in the production environment—for example, in an existing database and queue manager service on premises or as a managed service in the cloud.

The definition files in the base folder contain a deployment object and a service object for each microservice. Let's go through a typical deployment object in kubernetes/services/base/product.yml. It is geared toward what is required in a development environment. It starts with ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices with Spring Boot and Spring Cloud - Second Edition

Microservices with Spring Boot and Spring Cloud - Second Edition

Magnus Larsson

Publisher Resources

ISBN: 9781789613476Supplemental Content