Scaling the Data Gate instance
You can scale the Data Gate instance from small to large.
Procedure
- Before making changes, review the System requirements.
- Choose the size of the instance according to this table (for example, from small to
medium, or NIL to large. The default level is CUSTOM. Size is NIL when you provision the instance
from the UI.)
Level Size Description level_1 small_mincpureq 2 vCPUs +16 GB Memory level_2 small 2 vCPUs +16 GB Memory level_3 medium 6 vCPUs +24 GB Memory level_4 large 10 vCPUs +32 GB Memory level_5 large 10 vCPUs +32 GB Memory - Log in to your Red Hat®
OpenShift®
cluster as an instance administrator:
oc login ${OCP_URL} - Change to the project where Data Gate is installed:
oc project ${PROJECT_CPD_INST_OPERANDS} - From the command line of the Red Hat
OpenShift cluster where Data Gate is installed, identify the Data Gate instance identifier by issuing the
oc get dginstancecommand. For example:oc get dginstance -n ${PROJECT_CPD_INST_OPERANDS} NAME VERSION BUILD STATUS RECONCILED AGE dg1699914520773847 5.0.0 5.0.0.82 Completed 5.0.0 6h58mIn this example, the instance name is
dg1699914520773847. - Identify the current scale configuration (the default scale level is
CUSTOM).cpd-cli manage get-scale-config --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} --components=datagate_instance - Create an
override.yamlfile to specify the Data Gate instance need to be scaled. Update according to the results in step 5.override_components_meta: datagate_instance: cr_name: <datagate instance name> - Put the
override.yamlfile into the workspace ofCPD_CLI.cp override.yaml ${CPD_CLI_MANAGE_WORKSPACE}/olm-utils-workspace/work - Specify the
scale_levelaccording to the table in step 2, and then run thescalecommand.cpd-cli manage apply-scale-config --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} --components=datagate_instance --scale=<scale_level> --param-file=/tmp/work/override.yaml - Wait for the pod to be ready.
oc get po -n ${PROJECT_CPD_INST_OPERANDS} | grep <datagate instance name>