1 option
Argo CD in practice : the GitOps way of managing cloud-native applications / Liviu Costea, Spiros Economakis, and Alexander Matyushentsev.
- Format:
- Book
- Author/Creator:
- Costea, Liviu, author.
- Economakis, Spiros, author.
- Matyushentsev, Alexander, author.
- Language:
- English
- Subjects (All):
- Cloud computing.
- Physical Description:
- 1 online resource (236 pages)
- Edition:
- First edition.
- Place of Publication:
- Birmingham, England : Packt Publishing Ltd., [2022]
- Biography/History:
- Costea Liviu: Liviu Costea started as a developer in the early 2000 and his career path took him to different roles from Developer to Coding Architect and from Team Lead to CTO. In 2012 he transitioned to DevOps, when at a small company, someone had to start working on pipelines and automation because the traditional way wasn't scalable anymore. In 2018 he started with the Platform Team and then he was the Tech Lead in the Release Team at Mambu, where they designed most of the CI/CD pipelines, adopting GitOps practices. They have been live with Argo CD since 2019. More recently he joined Juni, a promising startup, where they are planning the GitOps adoption. For his contributions to OSS projects, including Argo CD, he was named CNCF Ambassador in August 2020. Economakis Spiros: Spiros started as a Software Engineer in 2010 and went through a series of jobs and roles from Software Engineer, Software Architect to Head of Cloud. In 2013 founded its own startup and that was the first touch with DevOps culture and built with a small team a couple of CI/CD pipelines for a microservice architecture and mobile apps releases. After this in most of the companies involved to influence DevOps culture and automation. In 2019 started as an SRE in Lenses (acquired by Celonis) and soon influenced the organization with Kubernetes, GitOps, Cloud and transitioned to a position as Head of Cloud where he introduced GitOps across the whole company and used Argo CD for bootstrapping k8s clusters with utilities and continuous delivery applications. Now he works in an open-source company which is called Mattermost as a Senior Engineering Manager/SRE where he transformed the old GitOps approach (fluxcd) to GitOps v2. 0 with Argo CD and built a scalable architecture for multi-tenancy
- Summary:
- Build CD pipelines following GitOps principles like declarative and immutable changes stored in version control, all continuously reconciled by Argo CD, and minimize the failure of deployments. Purchase of the print or Kindle book includes a free eBook in the PDF format. Key Features Discover how to apply GitOps principles to build real-world CD pipelines Understand Argo CD components and how they work together to reconcile cloud native applications Learn to run Argo CD in production with declarative config changes, security, observability, disaster recovery, and more Book Description 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. What you will learn Understand GitOps principles and how they relate to IaC Discover how Argo CD lays the foundation for reconciling Git state with the cluster state Run Argo CD in production with an emphasis on reliability and troubleshooting Bootstrap Kubernetes clusters with essential utilities following the GitOps approach Set up a CD pipeline and minimize the failure of deployments Explore ways to verify and validate the YAML you put together when working with Kubernetes Understand the democratization of GitOps and how the GitOps engine will enable its further adoption Who this book is for If you're a software developer, DevOps engineer, or SRE who is responsible for building CD pipelines for projects running on Kubernetes and wants to advance in your career, this book is for you. Basic knowledge of Kubernetes, Helm, or Kustomize and CD pipelines will help you to get the most out of this book.
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Dedicated
- Foreword
- Contributors
- Table of Contents
- Preface
- Part 1: The Fundamentals of GitOps and Argo CD
- Chapter 1: GitOps and Kubernetes
- Technical requirements
- What is GitOps?
- Kubernetes and GitOps
- Architecture
- HTTP REST API server
- Controller manager
- Imperative and declarative APIs
- Imperative - direct commands
- Imperative - with config files
- Declarative - with config files
- Declarative - with config folder
- Building a simple GitOps operator
- IaC and GitOps
- Summary
- Further reading
- Chapter 2: Getting Started with Argo CD
- What is Argo CD?
- Get familiar with Argo CD
- Core concepts and vocabulary
- Argo CD reconciliation
- Vocabulary
- Explaining architecture
- Architectural overview
- The core components of Argo CD
- The core objects/resources of Argo CD
- Running Argo CD with Helm locally
- Running the first Argo CD application
- Running Argo CD with Argo CD Autopilot locally
- Synchronization principles
- Resource hooks
- Sync waves
- Part 2: Argo CD as a Site Reliability Engineer
- Chapter 3: Operating Argo CD
- Declarative configuration
- HA installation with Kustomize
- Argo CD self-management
- Configuration updates
- Setting up an HA installation
- API server
- Repository server
- Application controller
- Redis cache
- Dex server
- Planning for disaster recovery
- Installing the CLI
- Creating the backup
- Restoring on a different cluster
- Enabling observability
- Monitoring with Prometheus
- Metrics for the operating team
- Metrics for the microservices teams
- Notifying the end user
- Installing Argo CD Notifications
- Starting a pipeline
- Chapter 4: Access Control.
- Technical requirements
- Declarative users
- Admin and local users
- Service accounts
- Local service accounts
- Project roles and tokens
- Single sign-on
- SSO with Dex
- SSO with Argo CD directly
- Part 3: Argo CD in Production
- Chapter 5: Argo CD Bootstrap K8s Cluster
- Amazon EKS with Terraform
- Getting familiar with Amazon EKS
- Designing EKS infrastructure
- Provisioning EKS with Terraform
- Bootstrapping EKS with Argo CD
- Preparing Argo CD Terraform
- Applying Argo CD Terraform
- Using the app of apps pattern
- Why the app of apps pattern?
- Bootstrapping utilities
- Bootstrap in practice
- Destroying infrastructure
- Starting fresh infrastructure
- App of apps disadvantages
- What is ApplicationSet?
- Generators
- Chapter 6: Designing Argo CD Delivery Pipelines
- Motivation
- Simple blue/green in K8s
- Deployment strategies
- What is Argo Rollouts?
- Why Argo Rollouts?
- The architecture of Argo Rollouts
- Blue-green deployment strategy
- Canary deployment strategy
- A real CI/CD pipeline
- Setting up Argo Rollouts
- Automated blue-green promotion with GitHub Actions
- Automated rolling out with sync phases
- Keeping secrets safe
- Storing secrets safely
- Argo CD and External Secrets Operator
- Microservices CI/CD
- Monorepo microservices
- Chapter 7: Troubleshooting Argo CD
- Initial setup
- Addressing day-to-day issues
- Restarting components
- Using a specific version of Helm
- Improving performance
- Chapter 8: YAML and Kubernetes Manifests
- Working with templating options
- Helm
- Kustomize.
- Exploring types of validation
- Validating a Kubernetes schema
- Enforcing best practices for your manifests
- Performing extended checks with conftest
- Chapter 9: Future and Conclusion
- Democratizing GitOps
- What is GitOps Engine?
- The GitOps agent
- What is kubernetes-sigs/cli-utils?
- kapply usage
- Wrap up
- Index
- Other Books You May Enjoy.
- Notes:
- Description based on publisher supplied metadata and other sources.
- Description based on print version record.
- ISBN:
- 9781803232829
- 180323282X
- OCLC:
- 1350078902
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.