Portworx Stork
Portworx Stork is a storage scheduler for Kubernetes that helps achieve tighter integration of Portworx with Kubernetes. It allows users to co-locate pods with their data, provides seamless migration of pods in case of storage errors, and makes it easier to create and restore snapshots of Portworx volumes. Stork consists of 2 components, the Stork scheduler and an extender. Both of these components run in HA mode with 3 replicas by default. When Portworx is installed using the Portworx Enterprise Cluster Spec from Portworx Central , Stork is installed by default.
This topic describes how to verify Portworx Stork installation and also explains how to upgrade Stork.
Verify Stork Installation
Run the following command:
kubectl get pods -n portworx
...
stork-56f7c6d4cb-6b4tf 1/1 Running 0 21h
stork-56f7c6d4cb-qs25p 1/1 Running 0 21h
stork-56f7c6d4cb-v7q6b 1/1 Running 0 21h
stork-scheduler-78c6dc7c6-bkglp 1/1 Running 0 21h
stork-scheduler-78c6dc7c6-lt8ql 1/1 Running 0 21h
stork-scheduler-78c6dc7c6-vwbmn 1/1 Running 0 21h
...
Upgrade Stork
Perform the follwoing steps to upgrade Stork:
-
Edit the the storage cluster specification (Kubernetes resource):
kubectl edit stc <stc-name> -n <portworx-namespace> -
Change the Stork image and version details in
storksection:stork:
args:
webhook-controller: "true"
enabled: true
image: openstorage/stork:<stork_version> -
Save and exit.