- Set watching for pods (
Cloud Shell
)
watch kubectl get pod
- Commit broken image repository
- 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 and broken image repository and click onCommit changes
- Open
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: hello-kubernetes
namespace: flux-system
spec:
interval: 1m
timeout: 1m
chart:
spec:
chart: ./charts/hello-kubernetes
sourceRef:
kind: GitRepository
name: oracle-gitops-workshop
interval: 1m
targetNamespace: default
values:
message: This is new one
image:
repository: not-exists
valuesFrom:
- kind: ConfigMap
name: myconfig
- Observe events in kubernetes dashboard (after ~1m)
Helm upgrade failed: timed out waiting for the condition
-
Observe flux dashboard for
Failing Reconcilers
is equal to 1 (after ~2 min) -
Observe pods state (step 1), one pod will fail with
ImagePullBackOff
status -
Revert change of broken image repository
- 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
remove image section and click onCommit changes
- Open
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: hello-kubernetes
namespace: flux-system
spec:
interval: 1m
timeout: 1m
chart:
spec:
chart: ./charts/hello-kubernetes
sourceRef:
kind: GitRepository
name: oracle-gitops-workshop
interval: 1m
targetNamespace: default
values:
message: This is new one
valuesFrom:
- kind: ConfigMap
name: myconfig
- Observe events in kubernetes dashboard (after ~1m)
Helm upgrade succeeded
-
Observe flux dashboard for
Failing Reconcilers
is equal to 0 -
Observe pods state (step 1) - all pods in
Running
state
- Set watching for pods (
Cloud Shell
)
watch kubectl get pod
- Commit broken image repository
- 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 and broken image repository and click onCommit changes
- Open
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: hello-kubernetes
namespace: flux-system
spec:
interval: 1m
timeout: 1m
chart:
spec:
chart: ./charts/hello-kubernetes
sourceRef:
kind: GitRepository
name: oracle-gitops-workshop
interval: 1m
targetNamespace: default
values:
message: This is new one
image:
repository: not-exists
upgrade:
remediation:
remediateLastFailure: true
valuesFrom:
- kind: ConfigMap
name: myconfig
- Observe events in kubernetes dashboard (after ~1m)
Helm upgrade failed: timed out waiting for the condition
-
Observe flux dashboard for
Failing Reconcilers
is equal to 1 -
Observe pods state (step 1) all pods in ready state