BM: Baca dalam Bahasa Melayu
World K7: Self-Driving
Sync: from Git to cluster
You will learn: what sync does, and how to read Argo CD's two status lights.
Checked with Kubernetes 1.37 on 31 Oct 2026
The problem
You merged a new version at 12:00. At 12:01, the cluster still runs the old one. Is something broken?
Pick one answer.
Try it
Ship version 1.5.0 through Git. Watch both lights: sync: Copy the order board onto the floor: make the cluster match what Git says. (does the cluster match Git?) and health (does it work?).
Change one line in Git and commit. Watch the cluster follow.
Git (the order board)
apps/shop/deployment.yaml
Show the whole file
apiVersion: apps/v1
kind: Deployment
metadata:
name: shop
namespace: shop
spec:
replicas: 3
selector:
matchLabels:
app: shop
template:
metadata:
labels:
app: shop
spec:
containers:
- name: web
image: ghcr.io/kedai-kancil/shop:1.4.0
Commits
f89a8e9Add shopin the cluster
Cluster · namespace shop
Sync: SyncedHealth: Healthy
Deployment shop: 3/3 ready · image 1.4.0
syncPolicy:
automated:
selfHeal: trueShow the Argo CD Application
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: shop
namespace: argocd
spec:
project: default
source:
repoURL: "https://github.com/kedai-kancil/gitops.git"
path: apps/shop
targetRevision: main
destination:
server: "https://kubernetes.default.svc"
namespace: shop
syncPolicy:
automated:
selfHeal: true
Hint
Pick the 1.5.0 image, then Commit to Git. Press Step to go slowly.Try it
Put one sync in order.
First step at the top. Put these in order. Use the arrows, or drag.
- Argo CD applies the files: Syncing
- Synced and Healthy
- You merge a commit in Git
- New pods start: Progressing
- Argo CD notices: OutOfSync
Watch
Argo CD shows two separate lights. Sort each word into the right light.
Drag a card into a box. Or tap the card, then tap the box.
Try it
A teammate’s commit made sync fail. Argo CD shows the same error kubectl apply gives. Fix the file in Git.
Fix the manifest, then press Apply.
Predict
Argo CD shows Synced, but Degraded. What does that mean?
Pick one answer.
Check
Swipe: true or not quite?
Swipe right for good, left for needs work. Or use the buttons.
A webhook from GitHub can make Argo CD sync at once.
You did it!
You can now read a sync, light by light.
Go deeper (optional)
Sync can be automated or manual. Manual sync waits for a button or argocd app sync shop. With prune: true, objects you delete from Git are deleted from the cluster too. Real rep (optional): install Argo CD on a throwaway kind cluster. Watch an example app sync. Mission 6 walks you through it.
Bahasa Melayu
Anda merge versi baharu pukul 12:00. Pukul 12:01, kluster masih jalankan versi lama. Ada yang rosak?
Hantar versi 1.5.0 melalui Git. Perhati dua lampu: sync (selaraskan: kluster sama dengan Git?) dan health (ia berfungsi?).
Susun satu sync mengikut urutan.
Argo CD tunjuk dua lampu berasingan. Susun setiap perkataan ke lampu yang betul.
Commit rakan sepasukan buat sync gagal. Argo CD tunjuk ralat sama seperti kubectl apply. Baiki fail itu dalam Git.
Argo CD tunjuk Synced, tetapi Degraded. Apa maksudnya?
Leret: betul atau belum tepat?
Kini anda boleh baca satu sync, lampu demi lampu.
You finished this before. Practice is always welcome!
Official docs: Argo CD: automated sync policy · Argo CD: resource health · Argo CD: Git webhooks
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?