Book Image

Introduction to DevOps with Kubernetes

By : Onur Yılmaz, Süleyman Akba≈ü
Book Image

Introduction to DevOps with Kubernetes

By: Onur Yılmaz, Süleyman Akba≈ü

Overview of this book

Kubernetes and DevOps are the two pillars that can keep your business at the top by ensuring high performance of your IT infrastructure. Introduction to DevOps with Kubernetes will help you develop the skills you need to improve your DevOps with the power of Kubernetes. The book begins with an overview of Kubernetes primitives and DevOps concepts. You'll understand how Kubernetes can assist you with overcoming a wide range of real-world operation challenges. You will get to grips with creating and upgrading a cluster, and then learn how to deploy, update, and scale an application on Kubernetes. As you advance through the chapters, you’ll be able to monitor an application by setting up a pod failure alert on Prometheus. The book will also guide you in configuring Alertmanager to send alerts to the Slack channel and trace down a problem on the application using kubectl commands. By the end of this book, you’ll be able to manage the lifecycle of simple to complex applications on Kubernetes with confidence.
Table of Contents (11 chapters)

Kubernetes Package Manager: Helm

Cloud-native applications with multiple microservices require the writing of complex configuration files with interdependent resources such as volumes, configuration maps, secrets, pods with multiple containers, and services to expose pods. Writing YAML or JSON configuration files for each resource, along with the maintenance of these files, is exhausting and is also prone to errors. Helm is the official Kubernetes package manager that is used to solve this issue by managing resource definitions with templates. It works by separating resource definition and configuration values. Additionally, it makes it easier to deploy complex applications for users.

Helm consists of a server-side backend (tiller) running in the cluster and a command-line client tool (helm). Applications are packaged as charts in Helm, where all required Kubernetes resource templates and value files are packaged. Helm has an active chart repository where popular and stable open...