Learn about Upgrading Trilio on OpenShift and Upstream Kubernetes
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.
Upstream Kubernetes
For Upstream or non-OpenShift environments, Trilio provides its own Operator for installing and managing instances of Trilio for Kubernetes. Follow the steps below to upgrade the operator
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
Once the operator pod comes up, it will automatically install the corresponding Trilio version.