Module 8 · Project 08 · Deploy with GitOps and Argo CD · Lesson 30 of 48
Build it: GitOps for the notes app
Install Argo CD, wire CI to the config repo, deploy three environments and practise a bad release and a rollback. Then interview practice and a practice test.
In this lesson · about 40 minutes
- Build Project 08 in stages
- Run a full promotion and rollback
- Explain GitOps in interview language
Build it in stages
- Install Argo CD on your practice cluster (
kubectl create namespace argocd, then apply the official install manifest) and open the UI withkubectl port-forward. - Config repo: move your Project 07 manifests into
notes-configwith a Kustomize base and overlays (or Helm values) for dev, staging and production. - Applications: one Argo CD Application per environment (or an ApplicationSet that generates them), with auto-sync, prune and self-heal on dev and staging. Many teams keep production on manual sync at first.
- Wire up CI: after Project 05's pipeline builds and scans the image, its last job opens a PR to the config repo bumping dev's tag. Remove any kubectl or helm steps and cluster credentials from CI.
- Secrets: install Sealed Secrets or External Secrets, and replace any plain Secrets.
- Notifications: Slack or email on sync failed and health degraded.
- Drill: promote a deliberately broken release to staging, watch it go Degraded, and roll back with git revert. Time it.
Break it on purpose
- Run
kubectl scale deployment notes-api --replicas=10in staging. How long until self-heal puts it back? - Delete a Service from Git with prune off, then on. What's left in the cluster each time?
- Push invalid YAML to the config repo. What does Argo CD show? Add a CI check (
kustomize buildplus kubeconform) that catches it before merge.
Guided dialogue
Mock interview: GitOps
0 of 3 answered
Three questions about GitOps.
What is GitOps, in your own words?
Flashcards
Project 08 flashcards
0 of 7 known
Say the answer out loud, flip the card, then be honest: cards you miss come back at the end.
Practice exam
Project 08 practice test
Eight questions, 10 minutes.
- 8 questions · 10 minutes
- No feedback until you submit. Flag questions to come back to them.
- Aim for 85% or better before you move on. The real exam's 750 out of 900 is roughly 80–83%.
Write the 'Deployment flow' and 'Rollback drill' sections for your GitOps project.
Consider these questions and write down your thoughts. What you write stays on this device.
Written by Noviq Academy in its own words. The labs are simulations: no real servers are touched. When you build the projects yourself, use a practice virtual machine or a free-tier cloud account you control, watch your cloud spending, and never run cleanup or delete commands on a machine you care about. Tool names belong to their owners; versions and output are shown for learning and may differ slightly from yours. Read-aloud and the whiteboard voice use your device's built-in voices.