Skip to main content
Version Next

Upgrade via ArgoCD

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

tip

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


Upgrade Preparation

Before modifying the manifests, verify the current state of the cluster.

Verify Application State

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 upgrading:

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

Verify pods and workload readiness

Terminal input
kubectl get pods -n <namespace>
Figure 2 - Verify Pods
Figure 2 - Verify Pods
Terminal input
kubectl get statefulset -n <namespace>
Figure 3 - Verify StatefulSets
Figure 3 - Verify StatefulSets

If the application uses a Deployment, also validate:

Terminal input
kubectl get deploy -n <namespace>

What to validate:

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

Why validate before upgrading:

  • Ensure the application is already stable before the change
  • Avoid confusing a pre-existing failure with one caused by the upgrade
  • Reduce the risk of downtime during the process

Verify Helm Releases

Terminal input
helm list -n <namespace>
Figure 4 - Verify Helm Releases
Figure 4 - Verify Helm Releases

Confirm the installed versions and the deployed status of each release.