Business Teams Service maintenance
Learn how to maintain Business Teams Service.
OpenShift must be updated regularly.
-
To update an OpenShift cluster with Business Teams Service (BTS), run the following command:
oc edit deployment ibm-bts-operator-controller-manager -n bts-namespace
where the
bts-namespace
should be replaced with the name of the namespace where the BTS Custom Resource is installed. -
Change replicas property under spec to
0
and save the change.... spec: replicas: 0 ...
The BTS operator pod terminates.
-
Update the BTS Postgresql cluster
-n bts-namespace
.oc edit cluster ibm-bts-cnpg-<bts-namespace>-cp4ba-bts
where the
bts-namespace
should be replaced with the name of the namespace where the BTS Custom Resource is installed. -
Add the
nodeMaintenanceWindow
property under spec and save the changes.... spec: nodeMaintenanceWindow: inProgress: true reusePVC: true ...
-
Execute your maintenance commands, for example,
drain
oruncordon
.oc edit deployment ibm-bts-operator-controller-manager -n bts-namespace
-
Change replicas property under spec to
1
and save the changes.... spec: replicas: 1 ...
The BTS operator pod overwrites the changed values in the cluster.