Book Image

Practical Site Reliability Engineering

By : Pethuru Raj Chelliah, Shreyash Naithani, Shailender Singh
Book Image

Practical Site Reliability Engineering

By: Pethuru Raj Chelliah, Shreyash Naithani, Shailender Singh

Overview of this book

Site reliability engineering (SRE) is being touted as the most competent paradigm in establishing and ensuring next-generation high-quality software solutions. This book starts by introducing you to the SRE paradigm and covers the need for highly reliable IT platforms and infrastructures. As you make your way through the next set of chapters, you will learn to develop microservices using Spring Boot and make use of RESTful frameworks. You will also learn about GitHub for deployment, containerization, and Docker containers. Practical Site Reliability Engineering teaches you to set up and sustain containerized cloud environments, and also covers architectural and design patterns and reliability implementation techniques such as reactive programming, and languages such as Ballerina and Rust. In the concluding chapters, you will get well-versed with service mesh solutions such as Istio and Linkerd, and understand service resilience test practices, API gateways, and edge/fog computing. By the end of this book, you will have gained experience on working with SRE concepts and be able to deliver highly reliable apps and services.
Table of Contents (19 chapters)
Title Page
Dedication
About Packt
Contributors
Preface
10
Containers, Kubernetes, and Istio Monitoring
Index

Application and volume containers 


As we all know, last year was the year of containers (such as Dockers and Kubernetes). You can think of these as methods that package an application's code so that it can be run with its dependencies, isolated from other processes. There are two main types of containers, that is, stateful containers and statelesscontainers. In stateless containers, data generated from one application will not be available for another application. Stateful containers, on the other hand, will store or record the data somewhere, so that it is available. In real-world applications, it is likely that we need to use stateful containers, based on our application's requirements.

Let's see the steps behind sharing the disk storage among containers. In this example, we will use a Kubernetes pod named PacktPod. This pod will contain two containers: Container-PacktContainer_first and Container-PacktContainer_second. Let's look at what this will look like:

Let's look at how we can setup...