Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Argo CD in Practice
  • Table Of Contents Toc
  • Feedback & Rating feedback
Argo CD in Practice

Argo CD in Practice

By : Liviu Costea, Costea, Spiros Economakis
3.9 (11)
close
close
Argo CD in Practice

Argo CD in Practice

3.9 (11)
By: Liviu Costea, Costea, Spiros Economakis

Overview of this book

GitOps follows the practices of infrastructure as code (IaC), allowing developers to use their day-to-day tools and practices such as source control and pull requests to manage apps. With this book, you’ll understand how to apply GitOps bootstrap clusters in a repeatable manner, build CD pipelines for cloud-native apps running on Kubernetes, and minimize the failure of deployments. You’ll start by installing Argo CD in a cluster, setting up user access using single sign-on, performing declarative configuration changes, and enabling observability and disaster recovery. Once you have a production-ready setup of Argo CD, you’ll explore how CD pipelines can be built using the pull method, how that increases security, and how the reconciliation process occurs when multi-cluster scenarios are involved. Next, you’ll go through the common troubleshooting scenarios, from installation to day-to-day operations, and learn how performance can be improved. Later, you’ll explore the tools that can be used to parse the YAML you write for deploying apps. You can then check if it is valid for new versions of Kubernetes, verify if it has any security or compliance misconfigurations, and that it follows the best practices for cloud-native apps running on Kubernetes. By the end of this book, you’ll be able to build a real-world CD pipeline using Argo CD.
Table of Contents (15 chapters)
close
close
1
Part 1: The Fundamentals of GitOps and Argo CD
4
Part 2: Argo CD as a Site Reliability Engineer
7
Part 3: Argo CD in Production

Technical requirements

For this chapter, you will need access to a Kubernetes cluster. However, this time, local ones will not be enough. This is because we will be using the HA manifests, which require multiple nodes to run on so that the Pods can be spread between them. Any cluster with at least three nodes will do; the cloud provider doesn’t matter. In my case, I will be using an EKS cluster from AWS, which you can set up easily with a tool such as eksctl (https://eksctl.io). You can think of this as a production-ready installation.

This time, we are going to install Argo CD on the cluster using Kustomize, so you will need to install it as one of your tools (https://kubectl.docs.kubernetes.io/installation/kustomize/). You will also need kubectl (https://kubernetes.io/docs/tasks/tools/#kubectl).

We are also going to make changes to some Git repositories, so Git needs to be installed (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), as well as a code editor...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY