Overview
The first book to cover Traefik
Guides you from fundamental concepts to applications in microservices scenarios
Covers cases of microservices deployed on the Kubernetes platform
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (7 chapters)
Keywords
About this book
Use Traefik as a load balancer or a reverse proxy for microservices-based architecture. This book covers Traefik integration for microservices architecture concerns such as service discovery, telemetry, and resiliency.
The book focuses on building an in-depth understanding of Traefik. It starts with the fundamentals of Traefik, including different load balancing algorithms available, and failure handling for application resiliency. Examples are included for the failure scenarios. TLS support is explained, including scenarios of TLS termination and TLS forwarding. Traefik supports TLS termination using Let's Encrypt. Traefik deployment in prominent microservices ecosystems is discussed, including Docker and Kubernetes.
Traefik is a language-neutral component. This book presents examples of its deployment with Java-based microservices. The examples in the book show Traefik integration with Jaeger/Zipkin, Prometheus, Grafana, and FluentD. Also covered is Traefik for Python-based services and Java-based services deployed in the Kubernetes cluster. By the end of the book, you will confidently know how to deploy and integrate Traefik into prominent microservices ecosystems.
What You Will Learn
- Understand Traefik basics and its components
- Explore different load balancing scenarios and TLS termination
- Configure service discovery, circuit breakers, timeouts, and throttling
- Monitor Traefik using Prometheus and request tracing
Who This Book Is For
Developers and project managers who have developed microservices and are deploying them in cloud and on-premise environments with Kubernetes or Docker. The book is not specifically written for any particular programming language. The examples presented use Java or Python.
Authors and Affiliations
About the authors
Akshay Mathur is a software engineer with 15 years of experience, mostly in Java and web technologies. Most of his career has been spent building B2B platforms for enterprises, dealing with concerns such as scalability, configurability, multi-tenancy, and cloud engineering. He has hands-on experience implementing and operating microservices and Kubernetes in these ecosystems. Currently, he enjoys public speaking and blogging on new cloud native technologies (especially plain Kubernetes) and effective engineering culture.
Bibliographic Information
Book Title: Traefik API Gateway for Microservices
Book Subtitle: With Java and Python Microservices Deployed in Kubernetes
Authors: Rahul Sharma, Akshay Mathur
DOI: https://doi.org/10.1007/978-1-4842-6376-1
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Rahul Sharma, Akshay Mathur 2021
Softcover ISBN: 978-1-4842-6375-4Published: 28 November 2020
eBook ISBN: 978-1-4842-6376-1Published: 27 November 2020
Edition Number: 1
Number of Pages: XV, 255
Number of Illustrations: 113 b/w illustrations
Topics: Professional Computing, Open Source