Skip to 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
668 pages
15h 59m
English
Packt Publishing
Content preview from Hands-On Microservices with Spring Boot and Spring Cloud

A walkthrough of the definition files

The Dockerfile that's used to build the Docker image, kubernetes/efk/Dockerfile, looks as follows:

FROM fluent/fluentd-kubernetes-daemonset:v1.4.2-debian-elasticsearch-1.1RUN gem install fluent-plugin-detect-exceptions -v 0.0.12 \ && gem sources --clear-all \ && rm -rf /var/lib/apt/lists/* \           /home/fluent/.gem/ruby/2.3.0/cache/*.gem

Let's explain the preceding source code in detail:

  • The base image is Fluentd's Docker image, fluentd-kubernetes-daemonset. The v1.4.2-debian-elasticsearch-1.1 tag specifies that version v1.4.2 shall be used with a package that contains built-in support for sending log records to Elasticsearch. The base Docker image contains the Fluentd configuration files that were mentioned ...
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

Master Microservices with Spring Boot and Spring Cloud

Master Microservices with Spring Boot and Spring Cloud

In28Minutes Official

Publisher Resources

ISBN: 9781789613476Supplemental Content