Install Stork
You can install Stork with or without Portworx Enterprise using the following methods:
Deployment method without Portworx Enterprise
To install Stork version 23.7.2 on your Kubernetes cluster without installing Portworx Enterprise, run the below commands:
Download the Stork deployment spec:
curl -fsL -o stork-spec.yaml "https://install.portworx.com/pxbackup?comp=stork&storkNonPx=true"
In the
stork-spec.yaml
, change the Stork version to 23.7.2 if the version differs.Apply the
stork-spec.yaml
to install the latest Stork version:kubectl apply -f stork-spec.yaml
Deployment Method with Portworx Enterprise
If you have to install Stork 23.7.2 along with Portworx Enterprise, you can opt-in for Daemonset installation or Portworx Operator installation:
Portworx DaemonSet installation
To install Stork using Daemonset installation method:
Fetch the Kubernetes version and then download
stork-spec.yaml
:KBVER=$(kubectl version --short | awk -Fv '/Server Version: /{print $3}')
curl -fsL -o stork-spec.yaml "https://install.portworx.com/pxbackup?kbver=${KBVER}&comp=stork"Apply the
stork-spec.yaml
with the below command:kubectl apply -f stork-spec.yaml
Portworx Operator installation
Perform the below steps for Stork installation using Portworx operator option:
Edit the stc (Kubernetes resource):
kubectl edit stc -n <portworx-deployed-namespace>
Append the Stork image and version details in Stork section:
stork:
args:
webhook-controller: "true"
enabled: true
image: openstorage/stork:23.7.2Save and exit.
Stork upgrade for air-gapped environments
If your application cluster is air-gapped, then you must pull the following openstorage
images before upgrading Stork:
openstorage/cmdexecutor:23.7.2
openstorage/stork:23.7.2
Push the above images to your internal registry server, accessible by the air-gapped nodes.
After pushing the images, follow the instructions in How to install Stork based on your deployment methods to upgrade your stork version.