From the course: Kubernetes: Microservices (2018)

Microservices patterns in Kubernetes - Kubernetes Tutorial

From the course: Kubernetes: Microservices (2018)

Start my 1-month free trial

Microservices patterns in Kubernetes

- [Instructor] We're now familiar with the basics of microservice's architecture, its advantages, and basic design principles in the 12-factor app methodology. However, how does this relate to Kubernetes and how can we leverage the power of the Kubernetes platform as the hosting platform for microservices. In this chapter, we're going to break down the 12-factor principles and create a reference implementation for each of these using Kubernetes as a microservice platform. I'm going to break this discussion into three sections: basic building blocks, deployment patterns, and runtime patterns. In the building blocks section, I'll cover the basic concerns, including codebase; dependencies; parity between your dev, staging, and product environments; and admin processes. In the deployment pattern section, I'll go over configurations; building, releasing, running your applications; processes; and port bindings. In the runtime section, I'll discuss topics that come up during the runtime of services, including backing services, features around concurrency, disposability, and log management. Also, I expect that you've already played around with Kubernetes before and understand the concepts provided Kubernetes, like pods, employments and services. If you're unfamiliar with Kubernetes, feel free to check out the library for the Learning Kubernetes course. It's a beginner level course where you can cube up. My goal for the chapter is to draw parallels between the generic patterns and how to accomplish these in a Kubernetes setting.

Contents