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)

Updating an Application

In the previous chapter, Configuration and Storage Management in Kubernetes, we saw how to manage configurations and secrets generally as well as in Kubernetes. We also went through the process of handling storage and explored how Kubernetes provides a number of abstractions in order to make this easy for users. After covering configuration and storage management as key practices in DevOps, in this chapter, we will see how we can update and scale an application, as they are equally important practices that we need to apply in DevOps.

Updating an application is an inevitable part of software management – especially DevOps. In continuous integration and delivery, applications can be updated a number of times a day or even an hour. These updates can be disruptive in cases where high availability is a very important function of the application. No user likes to land on a website where they see an error message saying that the service is currently not available...