Skip to main content
Version 3.0

Update via ArgoCD

CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+Helm3.2.0+

This guide describes the process of updating TDP Kubernetes components using ArgoCD as a GitOps tool.
With ArgoCD, updates are managed declaratively through Application manifests stored in the Git repository.

tip

With the GitOps pattern, the update consists of editing the manifests in the Git repository — ArgoCD detects the change and automatically applies it to the cluster.


Update Preparation

Before changing manifests, check the current state of the cluster.

Check the status of Applications

List all TDP Applications and their status:

Terminal input
argocd app list
Figure 1 - TDP applications and their status
Figure 1 - TDP applications and their status

What to validate:

  • All Applications must have STATUS Synced
  • All must have HEALTH Healthy

Why validate before updating:

  • Confirm that the current state in the cluster matches the desired state in Git
  • Ensure there is no pending reconciliation error
  • Avoid starting the update on an already inconsistent or degraded Application

Check pods and workload readiness

Terminal input
kubectl get pods -n <NAMESPACE>
Figure 2 - Check the pods
Figure 2 - Check the pods
Terminal input
kubectl get statefulset -n <NAMESPACE>
Figure 3 - Check the StatefulSets
Figure 3 - Check the StatefulSets

If the application uses Deployment, also validate:

Terminal input
kubectl get deploy -n <NAMESPACE>

What to validate:

  • The pods are in STATUS Running
  • Pods READY column is complete, for example 1/1
  • The application's StatefulSets or Deployments show all ready replicas, for example 1/1, 2/2 or 3/3

Why validate before updating:

  • Ensure that the application is already stable before the change
  • Avoid confusing previous failure with failure caused by the update
  • Reduce the risk of unavailability during the process

Check Helm Releases

Terminal input
helm list -n <NAMESPACE>
Figure 4 - Check Helm Releases
Figure 4 - Check Helm Releases

Confirm the installed versions and deployed status of each release.