Upgrade

Upgrading Trilio via OpenShift and Upstream Kubernetes is discussed in this section.

Deprecated Documentation

This document is deprecated and no longer supported. For accurate, up-to-date information, please refer to the documentation for the latest version of Trilio.

Upgrade

If upgrading from T4K 2.0.X to 2.X - please follow these specific instructions

RedHat OpenShift

OpenShift updates are delivered directly through the Operator Lifecycle Manager framework. When installing the Trilio Operator, the cluster admin can specify how to update via an approval strategy- either manual or automatic. A manual subscription will require manually approving the new update that is available. An automatic subscription will automatically update the application when an update is available.

If you have adjusted resource limits on Trilio pods to address OOM issues, those changes will not persist between upgrades. Trilio is planning to address this shortcoming in future releases, but until then, users should turn off the automatic upgrade option and reapply resource limits after the upgrade process.

Upstream Kubernetes

For Upstream or non-OpenShift environments, Trilio provides its own Operator for installing and managing instances of Trilio for Kubernetes. In some cases, the Operator and the T4K instance will need to be upgraded depending on the source and target versions.

Operator Upgrade

Please refer to the Compatibility Matrix page to understand if the T4K version you are upgrading to needs an upgrade of the Operator as well. If an upgrade of an Operator is required, please follow the steps below. If not, jump to upgrading the TVM version directly.

If upgrading the operator from 2.0.x - please refer to the following page before proceeding

  1. Find the helm repository for Trilio Manager using the following command:

prafull@EMPID18004:~$ helm repo list
NAME    	URL                                                               
signtest	http://127.0.0.1:43961                                            
tvm     	http://charts.k8strilio.net/trilio-stable/k8s-triliovault-operator

2. Update your repo to receive the latest updates:

prafull@EMPID18004:~$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "tvm" chart repository
Update Complete. ⎈ Happy Helming!⎈

3. Update your upstream operator:

prafull@EMPID18004:~$ helm ls
NAME           	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                          	APP VERSION
trilio-operator	default  	1       	2021-01-13 18:50:12.554889335 +0530 IST	deployed	k8s-triliovault-operator-2.6.2	2.6.2     

prafull@EMPID18004:~$ helm upgrade trilio-operator tvm/k8s-triliovault-operator
Release "trilio-operator" has been upgraded. Happy Helming!
NAME: trilio-operator
LAST DEPLOYED: Wed Jan 13 18:51:28 2021
NAMESPACE: default
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
To verify that Trilio Operator has started, run:


  kubectl --namespace=default get deployments -l "release=trilio-operator"

prafull@EMPID18004:~$ helm ls
NAME           	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                          	APP VERSION
trilio-operator	default  	2       	2021-01-13 18:51:28.709468861 +0530 IST	deployed	k8s-triliovault-operator-2.10.0	2.10.0     

Application (Trilio Manager) Upgrade

Update the TVM CR and providetrilioVaultAppVersion: 2.10.0 and apply the CR.

This will upgrade T4K to version 2.10.0

Last updated