Book description
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn the most useful recipes and examples for following GitOps practices.
Through their years of experience in application modernization, CI/CD, and automation, authors Alex Soto Bueno and Natale Vinto from Red Hat walk you through all the steps necessary for successful hands-on application development and deployment with GitOps. Once you start using the recipes in this book, you'll have a head start in development cycles on Kubernetes following the GitOps approach.
You'll learn how to:
- Develop and deploy applications on Kubernetes
- Understand the basics of CI/CD and automation on Kubernetes, and apply GitOps practices to
- implement development cycles on the platform
- Prepare the app for deployment on multiple environments and/or multiple Kubernetes clusters
- Deploy apps for either multiple environments using GitOps and Argo CD, or for Kubernetes clusters
- Create Kubernetes-native pipelines with Tekton
- Provide and extend DevOps skills for the team working on Kubernetes
- Use progressive delivery to put your applications into production
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Introduction
- 2. Requirements
- 3. Containers
- 4. Kustomize
-
5. Helm
- 5.1. Creating a Helm Project
- 5.2. Reusing Statements Between Templates
- 5.3. Updating a Container Image in Helm
- 5.4. Packaging and Distributing a Helm Chart
- 5.5. Deploying a Chart from a Repository
- 5.6. Deploying a Chart with a Dependency
- 5.7. Triggering a Rolling Update Automatically
- 5.8. Final Thoughts
-
6. Cloud Native CI/CD
- 6.1. Install Tekton
- 6.2. Create a Hello World Task
- 6.3. Create a Task to Compile and Package an App from Git
- 6.4. Create a Task to Compile and Package an App from Private Git
- 6.5. Containerize an Application Using a Tekton Task and Buildah
- 6.6. Deploy an Application to Kubernetes Using a Tekton Task
- 6.7. Create a Tekton Pipeline to Build and Deploy an App to Kubernetes
- 6.8. Using Tekton Triggers to Compile and Package an Application Automatically When a Change Occurs on Git
- 6.9. Update a Kubernetes Resource Using Kustomize and Push the Change to Git
- 6.10. Update a Kubernetes Resource Using Helm and Create a Pull Request
- 6.11. Use Drone to Create a Pipeline for Kubernetes
- 6.12. Use GitHub Actions for CI
- 7. Argo CD
-
8. Advanced Topics
- 8.1. Encrypt Sensitive Data (Sealed Secrets)
- 8.2. Encrypt Secrets with ArgoCD (ArgoCD + HashiCorp Vault + External Secret)
- 8.3. Trigger the Deployment of an Application Automatically (Argo CD Webhooks)
- 8.4. Deploy to Multiple Clusters
- 8.5. Deploy a Pull Request to a Cluster
- 8.6. Use Advanced Deployment Techniques
- Index
- About the Authors
Product information
- Title: GitOps Cookbook
- Author(s):
- Release date: January 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492097471
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Developing Apps with GPT-4 and ChatGPT
This minibook is a comprehensive guide for Python developers who want to learn how to build …
book
Designing Data-Intensive Applications, 2nd Edition
Data is at the center of many challenges in system design today. Difficult issues such as …
book
Learning Go, 2nd Edition
Go has rapidly become the preferred language for building web services. Plenty of tutorials are available …