Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Docker for Microservices with Python

You're reading from   Hands-On Docker for Microservices with Python Design, deploy, and operate a complex system with multiple microservices using Docker and Kubernetes

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781838823818
Length 408 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Jaime Buelta Jaime Buelta
Author Profile Icon Jaime Buelta
Jaime Buelta
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: Introduction to Microservices
2. Making the Move – Design, Plan, and Execute FREE CHAPTER 3. Section 2: Designing and Operating a Single Service – Creating a Docker Container
4. Creating a REST Service with Python 5. Build, Run, and Test Your Service Using Docker 6. Creating a Pipeline and Workflow 7. Section 3:Working with Multiple Services – Operating the System through Kubernetes
8. Using Kubernetes to Coordinate Microservices 9. Local Development with Kubernetes 10. Configuring and Securing the Production System 11. Using GitOps Principles 12. Managing Workflows 13. Section 4: Production-Ready System – Making It Work in Real-Life Environments
14. Monitoring Logs and Metrics 15. Handling Change, Dependencies, and Secrets in the System 16. Collaborating and Communicating across Teams 17. Assessments 18. Other Books You May Enjoy

Technical requirements

The code is available on GitHub at the following URL: https://github.com/PacktPublishing/Hands-On-Docker-for-Microservices-with-Python/tree/master/Chapter11. Note that the code is an extension of the code in Chapter10, with extra elements as described in this chapter. The structure is the same a subdirectory called microservices with the code, and another one called kubernetes with the Kubernetes configuration files.

To install the cluster, you need to build each individual microservice with the following commands:

$ cd Chapter11/microservices/
$ cd rsyslog
$ docker-compose build
...
$ cd frontend

$ ./build-test.sh
...
$ cd thoughts_backend
$./build-test.sh
...
$ cd users_backend
$ ./build-test.sh
...

This will build the required services.

Note that we use the build-test.sh script. We will explain how it works in this chapter.

And then, create the namespace example...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime