Upgrade Stork
You can upgrade Stork with or without Portworx Enterprise using the following methods:
Stork upgrade in non-airgapped environments
To upgrade Stork to a version compatible with your Portworx Backup version (see the compatibility matrix for more information) alongside Portworx Enterprise, use the Portworx Operator method:
Portworx Operator method
Perform the following steps to upgrade Stork using the Portworx Operator:
-
Edit the stc (Kubernetes resource):
kubectl edit stc <stc-name> -n <portworx-namespace> -
Change the Stork image and version details in Stork section:
stork:
args:
webhook-controller: "true"
enabled: true
image: openstorage/stork:<stork-version> -
Save and exit.
If your environment has only a Portworx Backup deployment and no Portworx Enterprise, perform the steps in the following section to upgrade Stork to the latest supported version:
Non-Portworx deployment method
To upgrade Stork using Daemonset method:
-
Edit the deploy (Kubernetes resource):
kubectl edit deploy stork -n <stork-namespace> -
Change the Stork image and version details in Stork section:
image: openstorage/stork:<Variable name="stork_3.0.0"/> -
Save and exit.
Stork upgrade in air-gapped environment
If you are planning to upgrade your Stork version to 25.2.0 on your air-gapped environment, ensure that you pull the following kopiaexecutor and nfsexecutor images from the docker paths and push them to your custom image registry:
docker.io/openstorage/kopiaexecutor:master-latest
docker.io/openstorage/nfsexecutor:master-latest
-
If your application cluster is air-gapped, you must pull the following images before upgrading Stork. See the compatibility matrix for supported versions of Stork:
- 26.3.0
- 26.2.0
- 25.6.1
- 25.5.0
- 25.4.0
Stork Image Version Stork openstorage/stork 26.3.0 Command Executor openstorage/cmdexecutor 26.3.0 NFS Executor openstorage/nfsexecutor 1.2.24 Kopia Executor openstorage/kopiaexecutor 1.2.24 Stork Image Version Stork openstorage/stork 26.2.0 Command Executor openstorage/cmdexecutor 26.2.0 NFS Executor openstorage/nfsexecutor 1.2.23 Kopia Executor openstorage/kopiaexecutor 1.2.23 Stork Image Version Stork openstorage/stork 25.6.1 Command Executor openstorage/cmdexecutor 25.5.0 NFS Executor openstorage/nfsexecutor 1.2.22 Kopia Executor openstorage/kopiaexecutor 1.2.22 Stork Image Version Stork openstorage/stork 25.5.0 Command Executor openstorage/cmdexecutor 25.5.0 NFS Executor openstorage/nfsexecutor 1.2.22 Kopia Executor openstorage/kopiaexecutor 1.2.22 Stork Image Version Stork openstorage/stork 25.4.0 Command Executor openstorage/cmdexecutor 25.4.0 NFS Executor openstorage/nfsexecutor 1.2.21 Kopia Executor openstorage/kopiaexecutor 1.2.21 notenfsExecutorandkopiaExecutorversion 1.2.20 are not released or supported in Stork. -
You must then push the above images to your internal registry server, accessible by the air-gapped nodes.
-
After pushing the images, follow the Portworx Operator method or Non-Portworx deployment method steps above based on your deployment to upgrade your Stork version.