dsds
Back-up and restore
This is not applicable as the current Swiftflow version is a fully stateless API.
Update images
Edit the Swiftflow statefulset by running the below command:
kubectl edit sts RELEASE_NAME-swiftflow
Modify the Swiftflow pod image version to the targeted version.
Save and quit.
Warning : the pod will be restarted once you changes have been saved.
Scaling
kubectl scale sts RELEASE_NAME-swiftflow --replicas=DESIRED_NUMBER_OF_PODS
Delete (GCP)
kubectl delete application RELEASE_NAME-swiftflow
kubectl delete pvc RELEASE_NAME-swiftflow-data
Delete (non-GCP)
In case no application manager was used:
kubectl delete statefulset,service,configmap,secret,pvc \
--selector app.kubernetes.io/name=${APP_INSTANCE_NAME}