Implementing a GitOps workflow with Argo CD and Skaffold
In Chapter 4, Understanding Skaffold's Features and Architecture, while explaining Skaffold features, we briefly talked about how we can use the skaffold render
and skaffold apply
commands to create a GitOps style continuous delivery workflow with Skaffold. In this section, we will implement a GitOps workflow using Skaffold and Argo CD. But first, let's understand what GitOps is and its benefit.
What is GitOps, and what are its benefits?
The word GitOps was coined by a company named Weaveworks. The idea behind GitOps is to consider Git as a single source of truth for your application and declarative infrastructure. Using Git to manage your declarative infrastructure makes it easy for developers because they interact with Git daily. Once you add configuration inside Git, you get the benefits of version control, such as reviewing changes using pull requests, audit, and compliance.
With GitOps, we create automated...