Turbine 24.2.2 Upgrade Instructions
20 min
use these upgrade instructions to upgrade your instance of turbine 24 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 5 x+ mongodb 5 0 24 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 note ekco and kotsadm rqlite will automatically scale back up after the script in step 3 has completed kubectl scale deployment ekc operator replicas=0 n kurl kubectl scale statefulsets kotsadm rqlite replicas=0 n default note if you have configured selinux, add this to the end of the command above installer spec file=se yaml execute the following command to begin the turbine platform installer component upgrade $ curl ssl https //kurl sh/turbine turbine 24 2 2 | sudo bash s ha 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 click deploy on the new 24 2 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 use the following instructions to upgrade this version of swimlane on an embedded cluster installation prerequisites turbine version 23 5 x+ mongodb 5 0 24 kubernetes 1 27 1 30 kots kubectl plugin 1 109 x velero 1 13 x 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 velero to 1 13 x see the velero documentation for details https //velero io/docs/v1 13/upgrade to 1 13/ upgrade kots addon and kots app 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 osx https //get swimlane io/turbine/existing cluster/install/osx linux https //get swimlane io/turbine/existing cluster/install/linux untar the file tar zxf kots \<os version> tar gz rename the kots binary to kubectl kots mv kots kubectl kots move the kubectl kots binary into your path so that it can be recognized by kubectl (e g /usr/local/bin/) mv kubectl kots /usr/local/bin/ run the upgrade command kubectl kots admin console upgrade n \<namespace> 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 24 2 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 use the following instructions to upgrade this version of swimlane on an embedded cluster installation prerequisites turbine version 23 5 x+if you are not on a version that is >= 11 0, contact your swimlane support representative mongodb 5 0 24 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 $ tar xzvf turbine 24 2 2 tar gz run the turbine platform installer update on any node in your deployment $ cat install sh | sudo bash s airgap ha 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 cat /tasks sh | sudo bash s load images 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 24 2 2 airgap file and click upload the sequence number “ xxx” of the airgap file may be higher than shown if a new sequence has been published 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 deploy on the new 24 2 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 5 x+ mongodb 5 0 24 kubernetes 1 27 1 30 kots kubectl plugin 1 109 3 velero 1 13 x turbine 24 2 2 airgap bundle from swimlane contact your swimlane support representative if you do not have a download link for this 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 velero to 1 13 x see the velero documention for details you’ll have to use a jumpbox to download the new images and move them over https //velero io/docs/v1 13/upgrade to 1 13/ confirm both client and server version are on the same 1 13 0 release after upgrading $ /velero version upgrade kots plugin and kots app download the latest spi kubectl add on see kots documentationfor how to do so a versioned link will look like this \# linux amd https //github com/replicatedhq/kots/releases/download/v1 109 3/kots linux amd64 tar gz download the latest spi offline package curl l https //get swimlane io/existing cluster/install/offline package o kotsadm tar gz copy the latest spi kubectl add on and spi offline packages to your jumpbox $ scp kotsadm tar gz user@\<swimlanedns> /tmp/kotsadm tar gz $ scp kots \<os version> tar gz user@\<swimlanedns> /tmp/kots \<os version> tar gz untar the spi kubectl add on $ tar zxvf kots \<os version> tar gz rename or remove the original kubectl kots file $ rm /usr/local/bin/kubectl kots rename and move the latest spi kubectl add on file to /usr/local/bin/kubectl kots $ mv kots kubectl kots $ mv kubectl kots /usr/local/bin/ push the spi (kotsadm) images to your registry $ kubectl kots admin console push images kotsadm tar gz \<your registry endpoint>/\<your registry name> registry username \<username> registry password \<password> next, upgrade the swimlane platform installer (spi) $ kubectl kots admin console upgrade kotsadm registry \<your registry endpoint>/\<your registry name> registry username \<username> registry password \<password> n \<namespace> 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 24 2 2 airgap file and click upload the sequence number “ xxx” of the airgap file may be higher than shown if a new sequence has been published 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 24 2 2 and click on configure click deploy on the new 24 2 2 version at the top of the versions list once the application tab shows ‘ready’ your upgrade is complete note it may be necessary to perform a rolling restart if you notice unexpected behavior post upgrade please follow the steps in the following article, restarting services in swimlane using kubernetes rollout restart commands