Search…
2.9.X
Installation and Operation
How To Guides
Operator Upgrade 2.0.X to 2.X
This page provides instructions on upgrading the TrilioVault Operator

Upgrade TrilioVault Operator (TVM)

The instructions below are specifically when upgrading from 2.0.x to 2.x. If upgrading from 2.x to 2.x (for example 2.1.0 to 2.5.0), follow the regular helm upgrade instructions.

From 2.0.x to 2.X

If you have k8s-triliovault-operator with any v2.0.x version installed:
1
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
2
tvm default 1 2021-05-16 23:12:30.205083005 +0530 IST deployed k8s-triliovault-operator-v2.0.2 v2.0.2
Copied!
You should install the tvm-upgrade helm plugin with the following command:
1
$ helm plugin install https://github.com/trilioData/tvm-helm-plugins
2
Installed plugin: tvm-upgrade
Copied!
The tvm-upgrade command accepts three inputs, and you can see details in plugin's help:
1
$ helm tvm-upgrade --help
2
3
tvm-upgrade is used to run the pre upgrade job before upgrade from v2.0.x helm release to the new
4
v2.1.x release version of k8s-triliovault-operator.
5
6
--release <release_name> of the previous k8s-triliovault-operator
7
--namespace <namespace> of the previous k8s-triliovault-operator. By default it takes the current context namespace.
8
--imageRegistry <imageRegistry> is the registry where the docker image of operator-webhook-init is stored.
9
This needs to be provided only for dark installations
10
11
Usage:
12
tvm-upgrade [action] [flags]
13
14
possible actions:
15
16
For more help, run hook --help
Copied!
Run the helm tvm-upgrade plugin to update your existing release.
1
$ helm tvm-upgrade --release=tvm --namespace=default
2
INFO[0000] Validating the release is present or not
3
INFO[0011] Helm release updated, now you can upgrade the TVM :)
4
INFO[0011] Deleting the job
Copied!
Run helm upgrade command to upgrade the helm version:
1
$ helm upgrade tvm tvm/k8s-triliovault-operator
2
Release "tvm" has been upgraded. Happy Helming!
3
NAME: tvm
4
LAST DEPLOYED: Mon May 17 01:45:14 2021
5
NAMESPACE: default
6
STATUS: deployed
7
REVISION: 2
8
TEST SUITE: None
9
NOTES:
10
To verify that TrilioVault Operator has started, run:
11
12
kubectl --namespace=default get deployments -l "release=tvm"
Copied!