Turbine 23.3.2 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.
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.14
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:
- 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.3.2 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.105.1
- 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
- SSH into any node in your deployment.
- 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.2
- 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.3.2
- 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.
Upgrade Turbine on Embedded Airgap Cluster Installations
Prerequisites
- Turbine version 23.2.x+If you are not on a version that is >= 11.0, contact your Swimlane support representative.
- MongoDB 5.0.14
- Links to the Offline Installer Package and Offline Airgap Bundle If you do not have these linked, contact your Swimlane support representative.
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
- Copy the latest offline installer package to each airgapped server.Untar the offline installer package on each server.
- Scale down EKCO and kotsadm-rqlite. kubectl scale deployment ekc-operator --replicas=0 -n kurl kubectl scale statefulsets kotsadm-rqlite --replicas=0 -n default
- Run the Turbine Platform Installer update on any node in your deployment:
- Once the installation is complete, if you have a multi-node (HA) cluster, the script prompts you to run an additional command on every node:Run this script on node swimlane-2 to load required images before proceeding: cat ./tasks.sh | sudo bash -s load-images Have images been loaded on node swimlane-2? (Y/n)
- Run
on nodes two (2) and node three (3) before proceeding to run the command on node one (1).This command can be run simultaneously on nodes 2 and 3. Once the load-images script completes on nodes 2 and 3, enter Y in the node 1 terminal session twice.
- When the upgrade script completes, press Enter on node 1 and then upload the airgap bundle to the SPI dashboard.
- Log in to the Turbine Platform Installer dashboard (https://<SwimlaneDNS>:8800).
- Go to the Version History tab and click Upload a new version, then browse to the turbine-23.3.2.airgap file and click Upload. a. The sequence number β_372β of the airgap file may be higher than shown if a new sequence has been published b. Once the upload of the airgap completes, refresh the page or switch tabs to see the status of the file extraction.
- Go back to the Version History tab and Click on configure on 23.3.2_372
- Scroll down for Swimlane Logging Level change default warn to info and save the config
- Go back to the Version History tab and click Deploy on the new 23.3.2 version at the top of the versions list.
- Once the Application tab shows βReadyβ your upgrade is complete.
Upgrade Turbine on Existing Airgap Cluster Installations Prerequisites
- Turbine version 23.2.x+ If you are not on a version that is > 11.0, contact your Swimlane support representative.
- MongoDB 5.0.14
- Kubernetes 1.22-1.27
- KOTS kubectl plugin 1.105.1
- 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
- SSH into any node in your deployment.
- 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
- Download the latest SPI offline package: https://get.swimlane.io/existing-cluster/install/offline-package
- Copy the latest SPI Kubectl Add-on and SPI offline packages to your jumpbox:
- Untar the SPI Kubectl Add-on:
- Rename or remove the original kubectl-kots file:
- Rename and move the latestSPI Kubectl Add-on file to /usr/local/bin/kubectl-kots.
- Download Velero 1.10.2 to the jumpbox for the jumpbox's OS version: https://github.com/vmware-tanzu/velero/releases/tag/v1.10.2
- Untar the file and then change directory into the uncompressed directory:
- Update Velero custom resource definitions:
- Download the new Velero images and push them to your private registry from your jumpbox. For specific steps on how to download and push new Velero images, see Download and Push New Velero Images.
- Update the images Velero and Restic are using to 1.10.2 (this update will take a minute to get new pods rolled out):
Confirm both client and server version are on the same 1.10.2 release:
Note: This update may take a minute in order to get the new pods rolled out.
- Confirm both client and server version are on the same 1.10.2 release:
- Push the SPI (kotsadm) images to your registry:
- Next, upgrade the Swimlane Platform Installer (SPI):
When the SPI upgrade is complete, upload the Turbine airgap bundle to the SPI dashboard.
- Log in to the Swimlane Platform Installer dashboard (https://<SwimlaneDNS>:8800).
- Go to the Version History tab and click Upload a new version, then browse to the turbine-23.3.2.airgap file and click Upload. a. The sequence number β_372β of the airgap file may be higher than shown if a new sequence has been published. b. Once the upload of the airgap completes, refresh the page or switch tabs to see the status of the file extraction.
- Go to the Version History tab - you will see a version for 23.3.2 and Click on configure
- Scroll down for Swimlane Logging Level change default warn to info and save the config
- Click Deploy on the new 23.3.2 version with the highest sequence number at the top of the versions list.
- Once the Application tab shows βReadyβ your upgrade is complete.