Run Commands

Upgrade

Learn how to upgrade PachCTL and & PachD.

⚠️

The next minor release of Pachyderm (2.10) will no longer support Postgres versions older than Postgres 15. We recommend that you at least upgrade to Postgres 15 to ensure compatibility. If you encounter any issues, please let us know by filing a support ticket.

Learn how to upgrade Pachyderm to access new features and performance enhancements.

Before You Start #

How to Upgrade Pachyderm #

1. Run a Preflight Check #

PachD has a preflight check mode that you can enable in your Helm chart by setting pachd.preflightchecks.enabled to true. Preflight checks run as a Kubernetes job, and can use a different version of Pachyderm than the rest of the chart. In this case, you will set it to the version you are upgrading to (for example, the latest version is 2.9.2).

Example configuration:

preflightCheckJob:
    enabled: true
    image:
        tag: "2.9.2"

You’ll see a pod named pachyderm-preflight-check was created to perform the preflight checks.

  • If its status says completed, you are ready to continue with the upgrade.
  • If its status does not say completed, reach out to the Pachyderm team for assistance with your upgrade.
kubectl get pods
NAME                                         READY   STATUS      RESTARTS   AGE
console-76f5fd8c58-zwvj5                     1/1     Running     0          13m
default-edges-v1-bl6cf                       2/2     Running     0          12m
default-montage-v1-tbj6p                     2/2     Running     0          12m
etcd-0                                       1/1     Running     0          13m
minio-0                                      1/1     Running     0          14m
pachd-6c99fc7448-vsjbn                       1/1     Running     0          13m
pachyderm-kube-event-tail-5957785f5d-4557j   1/1     Running     0          13m
pachyderm-loki-0                             1/1     Running     0          13m
pachyderm-preflight-check-rh9rp              0/1     Completed   0          13m
pachyderm-promtail-h29zv                     1/1     Running     0          13m
pachyderm-proxy-7956c766bd-drndd             1/1     Running     0          13m
pg-bouncer-686db6477c-rjwgl                  1/1     Running     0          13m
postgres-0                                   1/1     Running     0          13m

2. Upgrade #

  1. Run the following brew command or download & install the latest release assets:
brew tap pachyderm/tap && brew install pachyderm/tap/pachctl@2.9  
  1. Upgrade Helm.
Deploy Method:
  1. Verify that the installation was successful by running pachctl version:
pachctl version 

# COMPONENT           VERSION  
# pachctl             2.9.2 
# pachd               2.9.2