Book description
An exploration of continuous deployment to a Kubernetes cluster, using a wide range of Kubernetes platforms with instructions on how to develop a pipeline on a few of the most commonly used CI/CD platforms.
Key Features
- The fifth book of DevOps expert Viktor Farcic's bestselling DevOps Toolkit series, with a discussion of the difference between continuous delivery vs. continuous deployment, and which is best for the user
- Guides readers through the continuous deployment process using Jenkins in a Kubernetes cluster
- Provides an overview of the best practices for building, testing, and deploying applications through fully automated pipelines.
Book Description
Building on The DevOps 2.3 Toolkit: Kubernetes, Viktor Farcic brings his latest exploration of the Docker technology as he records his journey to continuously deploying applications with Jenkins into a Kubernetes cluster.
The DevOps 2.4 Toolkit: Continuously Deploying Applications with Jenkins to a Kubernetes Cluster is the latest book in Viktor Farcic's series that helps you build a full DevOps Toolkit. This book guides readers through the process of building, testing, and deploying applications through fully automated pipelines.
Within this book, Viktor will cover a wide-range of emerging topics, including an exploration of continuous delivery and deployment in Kubernetes using Jenkins. It also shows readers how to perform continuous integration inside these clusters, and discusses the distribution of Kubernetes applications, as well as installing and setting up Jenkins.
Work with Viktor and dive into the creation of self-adaptive and self-healing systems within Docker.
What you will learn
- Gain an understanding of continuous deployment
- Learn how to build, test, and deploy applications into Kubernetes
- Execute continuous integration inside containers
Who this book is for
Readers with an intermediate level understanding of Kubernetes and hands-on experience.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Dedication
- Contributor
- Preface
- Deploying Stateful Applications at Scale
- Enabling Process Communication with Kube API Through Service Accounts
-
Defining Continuous Deployment
- To continuously deliver or to continuously deploy?
- Defining continuous deployment goals
- Defining continuous deployment steps
- Creating a cluster
- Creating Namespaces dedicated to continuous deployment processes
- Defining a Pod with the tools
- Executing continuous integration inside containers
- Running functional tests
- Creating production releases
- Deploying to production
- Running production tests
- Cleaning up pipeline leftovers
- Did we do it?
- What now?
- Packaging Kubernetes Applications
- Distributing Kubernetes Applications
- Installing and Setting Up Jenkins
-
Creating a Continuous Deployment Pipeline with Jenkins
- Exploring the continuous deployment process
- Creating a cluster
- Installing Jenkins
- Defining the build stage
- Defining the functional testing stage
- Defining the release stage
- Defining the deploy stage
- What are we missing in our pipeline?
- Reusing pipeline snippets through global pipeline libraries
- Consulting global pipeline libraries documentation
- Using Jenkins file and Multistage builds
- What now?
-
Continuous Delivery with Jenkins and GitOps
- Creating a cluster
- Defining the whole production environment
- What is the continuous delivery pipeline?
- Exploring application's repository and preparing the environment
- Switching from Scripted to Declarative Pipeline
- Demystifying Declarative Pipeline through a practical example
- Creating and running a continuous delivery job
- What is GitOps and do we want it?
- Upgrading the production environment using GitOps practices
- Creating a Jenkins job that upgrades the whole production environment
- Automating upgrade of the production environment
- High-level overview of the continuous delivery pipeline
- To continuously deploy or to continuously deliver?
- What now?
- Appendix A: Installing kubectl and Creating a Cluster with minikube
- Appendix B: Using Kubernetes Operations (kops)
- Now It Is Your Turn
- Other Books You May Enjoy
Product information
- Title: The DevOps 2.4 Toolkit
- Author(s):
- Release date: November 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838643546
You might also like
book
The DevOps 2.2 Toolkit
Learn from an expert on how use self-adapting and self-healing systems within Docker. About This Book …
book
The DevOps 2.5 Toolkit
An advanced exploration of the skills and knowledge required for operating Kubernetes clusters, with a focus …
book
The DevOps 2.3 Toolkit
About This Book Learn from an expert on how to use Kubernetes, the most adopted container …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …