Turbine 23.5.6 Upgrade Instructions
Use these upgrade instructions to upgrade your instance of Turbine 23.x. The instructions are organized by subsections of this document that will help you upgrade by specific installation type, whether you have an embedded or existing cluster installation. Known Issue with Embedded/Existing Cluster/helm Installations: We are aware of an issue where the user is 'unable to generate a URL while creating a webhook'. There is a workaround for that for now. This script which can be used on all deployment methods, for KOTS (existing or embedded clusters) and for helm deployments. Contact Support for additional details.
Instructions:
- Set the value for the NS variable in line 5 to the Kubernetes namespace where Turbine has been installed.
- KOTS existing cluster and Helm deployments allow setting the namespace where the app is installed.
- KOTS embedded cluster should be set to “default”.
- Copy the script to a computer where you have access to the Kubernetes cluster.
- Run the script on the host with a command like “chmod +x script.sh && ./script.sh"
- The script will show the output of the kubectl command which applies the job manifest for each tenant
Upgrade Turbine on Embedded Cluster Installations
Use the following instructions to upgrade this version of Swimlane on an embedded cluster installation.
Prerequisites:
- Turbine version 23.2.x+
- MongoDB 5.0.23
Important! Swimlane recommends that you perform a MongoDB backup prior to starting this update. For more information, see Backup and Restore on an Embedded Cluster with Snapshots.
Upgrade Instructions
- SSH into any node in your deployment.
- Scale down EKCO and kotsadm-rqlite.
- Execute the following command to begin the Turbine Platform Installer component upgrade:
NOTE: If you have configured SELinux, add this to the end of the command above:
- After the install script has completed, log in to the Turbine Platform Installer dashboard (https://<SwimlaneDNS>:8800).
- Go to the Version History tab and click Check For Updates.
- A pop-up window appears, click Go to updated version and click configure.
- Scroll down to Swimlane Logging Level and change default, warn, to info and then save.
- Click Deploy on the new 23.5.6 version with the highest sequence number at the top of the versions list.
- Once the Application tab shows ‘Ready’ your upgrade is complete.
Upgrade Turbine on Existing Cluster Installations
Prerequisites:
- Turbine version 23.2.x+
- MongoDB 5.0.23
- Kubernetes 1.22-1.27
- KOTS kubectl plugin 1.107.3
- Velero 1.10.x
Important! Swimlane recommends that you perform a MongoDB backup prior to starting this update. For more information, see Backup and Restore on an Existing Cluster with Snapshots.
Upgrade Instructions
- Prepare the Swimlane Turbine Installer Kubectl Add-on
- Download the Swimlane Turbine Installer kubectl add-on for the OS version where you run kubectl commands from: Linux: https://get.swimlane.io/turbine/existing-cluster/install/linux OSX: https://get.swimlane.io/turbine/existing-cluster/install/osx
- Untar the file:
- Rename the kots binary to kubectl-kots:
- Move the kubectl-kots binary into your PATH so that it can be recognized by kubectl (e.g. /usr/local/bin/)
- Run the upgrade command:
- Download Velero 1.10.2 for your OS version: https://github.com/vmware-tanzu/velero/releases/tag/v1.10
- Untar the file and then change directory (cd) into the uncompressed directory:
- Update Velero custom resource definitions:
- Update the images Velero and Restic use to 1.10.2
Note: This update may take a minute in order to get the new pods rolled out.
- Confirm that both the client and server versions are on the same 1.10.2 release:
- When the upgrade is complete, login to the Turbine Installer dashboard (https://<SwimlaneDNS>:8800).
- Go to the Version History tab - you will see a version for 23.5.6
- Click Deploy once the preflight checks have completed.
- A new configuration is needed for the Elasticsearch persistent volume size and storageclass. Recommended sizes for small/medium/large environments are 8GB/16GB/32GB respectively.
- Once the Application tab shows ‘Ready’ your upgrade is complete.