- Pause git repository hello-kubernetes reconcile
./flux suspend source git oracle-gitops-workshop
- Set watching for pods
watch kubectl get pod
-
Update
message
parameter- Open
oracle-gitops-workshop
repository in your GitHub webpage - Go to
clusters/default/flux-system/hello-kubernetes.yaml
file - Сlick on pencil to edit the file
- Under the
values
section update themessage
parameter and click onCommit changes
- Observe the
Latest commit
hash value
- Open
-
Observe pods are not updated (section 2)
-
Observe latest
Fetched revision
is not changed
kubectl get gitrepositories.source.toolkit.fluxcd.io -A
NAMESPACE NAME URL READY STATUS AGE
flux-system oracle-gitops-workshop https://github.com/xcrezd/oracle-gitops-workshop True Fetched revision: master/ce3cfabe028563a439c1ccde90be94fb7a9eb8ed 95s
- Resume reconcile
./flux resume source git oracle-gitops-workshop
- Observe latest
Fetched revision
is changed
kubectl get gitrepositories.source.toolkit.fluxcd.io -A
NAMESPACE NAME URL READY STATUS AGE
flux-system oracle-gitops-workshop https://github.com/xcrezd/oracle-gitops-workshop True Fetched revision: master/572ca3db934c9f131eb37aa3dd2b4cfa3aefb9c7 95s
- Observe pods are updated
watch kubectl get pod
- Observe the update via Web at
http://instanceIp:30002