3 Getting started with Kargo
This chapter covers
- Understanding what Kargo is and where it fits between CI and GitOps
- Modeling delivery with Kargo’s five core resource types
- Installing Kargo and Argo CD in a cluster
- Running your first end-to-end promotion
- Diagnosing common first-attempt failures
Chapters 1 and 2 made the case for a promotion control plane: deployment and promotion are distinct concerns, Kubernetes amplifies the gap, and the informal patterns most teams rely on break down at scale. This chapter is where we start building. To keep it concrete, we’ll follow Devon Park, the platform engineering lead at Lumen Retail, our running example, as Devon installs Kargo on Lumen’s platform cluster and runs the first promotion.
By the end of it, you’ll have Kargo running in your cluster and a complete end-to-end promotion working: a container image discovered from a registry, a Freight created, three Stages defined, and the image advanced from dev through staging to production while Argo CD reconciles each environment in turn. Along the way, you’ll meet Kargo’s five core resource types in enough depth to reason about problems when they arise, because Kargo isn’t a utility you configure and forget. It becomes a core layer of your delivery architecture.
3.1 What Kargo is and where it fits
Kargo is the promotion control plane at the center of continuous promotion. This section covers where it came from and how it fits into the delivery stack before we put it into your cluster.