Cheat sheets
Delivery and rollouts
CI/CD terms, GitOps principles, Helm vs Kustomize and the release strategies on one page.
Terms
| Term | Meaning |
|---|---|
| Continuous integration | Merge often. Build, test and scan every change |
| Continuous delivery | Every change is releasable. A human approves production |
| Continuous deployment | Every passing change reaches production automatically |
| GitOps | Git holds the declarative desired state. An agent reconciles the cluster to it |
| Push model | The pipeline applies changes to the cluster and needs credentials |
| Pull model | An in-cluster agent pulls from Git. Credentials stay inside |
The four OpenGitOps principles: declarative, versioned and immutable, pulled automatically, continuously reconciled.
Helm vs Kustomize
| Helm | Kustomize | |
|---|---|---|
| Approach | Templates plus values, packaged as a chart | Patches layered over plain YAML |
| Unit | Chart and release | Base and overlay |
| Rollback | helm rollback | Through Git |
| Built into kubectl | No | Yes, kubectl apply -k |
Release strategies
| Strategy | How it works | Cost or risk |
|---|---|---|
| Rolling update | Replace Pods gradually (maxSurge, maxUnavailable) | Two versions run together for a while |
| Recreate | Stop all old Pods, then start new ones | Downtime |
| Blue/green | Two full environments, switch all traffic at once | Double the capacity during the switch |
| Canary | Send a small share of traffic to the new version first | Needs traffic control, such as a mesh or Argo Rollouts |
Exam signal
"Instant rollback by pointing traffic back" is blue/green. "Expose 5 percent of users first" is a canary. "Replaces Pods one by one with no extra tool" is the default rolling update.