Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.67 KB

step5.md

File metadata and controls

56 lines (41 loc) · 1.67 KB

Pause/Resume features

  1. Pause git repository hello-kubernetes reconcile
./flux suspend source git oracle-gitops-workshop
  1. Set watching for pods
watch kubectl get pod
  1. Update message parameter

    1. Open oracle-gitops-workshop repository in your GitHub webpage
    2. Go to clusters/default/flux-system/hello-kubernetes.yaml file
    3. Сlick on pencil to edit the file
    4. Under the values section update the message parameter and click on Commit changes
    5. Observe the Latest commit hash value
  2. Observe pods are not updated (section 2)

  3. 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

  1. Resume reconcile
./flux resume source git oracle-gitops-workshop
  1. 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

  1. Observe pods are updated
watch kubectl get pod
  1. Observe the update via Web at http://instanceIp:30002