Scaling services
You can adjust IBM® Cloud Pak for Data services by scaling the resources that they use to support high availability or to increase processing capacity. Resources can be scaled based on predefined resource configurations.
- Permissions you need for this task
- You must be either:
- A cluster administrator
- An administrator of the project where the software is installed, for example
cpd-instance
- When you need to complete this task
- If a service supports scaling, you can scale the service at any time after you install it.
About this task
- Small (default configuration)
- Medium
- Large
For services that don't support scaling, you must set the scaleConfig to
NIL
or None
.
The relevant scale YAML files that specify the values for the different scaling configurations must be in the config-vars/scale/<arch> directory. The scaleConfig variable in the CR specifies the YAML file name without extension. Each service that supports scaling defines its own set of resources to handle various supported configurations and might include more configurations.
Services that support scaling
The following table shows the services that support scaling by using the
scaleConfig setting, with more information provided for services that use a
default size other than the standard default size
small
or support sizes other than the standard sizes
small
, medium
, and large
.
The kind and default CR name are provided for each service that uses the scaleConfig setting for scaling. You must use these values when you run the oc edit or oc patch command to change the scaling configuration of the service. If you have changed the CR name, you must use the new CR name when you run the command. The table also indicates whether a service uses a service-specific scaling method other than the scaleConfig setting.
View the Changing the scaling configuration of a service section to find service-specific scaling instructions for using the oc patch, or click on a service name link where applicable in the table to jump the instructions for that service.
Service name | Uses the scaleConfig setting | Uses a different scaling method | More information |
---|---|---|---|
|
✓ | ||
|
✓ | ||
|
✓ | ||
|
✓ | Cognos Analytics supports four sizes:
|
|
|
✓ | ||
|
✓ | ||
|
✓ |
The Data Refinery service is installed only when you install either the Watson™ Knowledge Catalog service or the Watson Studio service. |
|
|
✓ | Data Virtualization does not use the
spec.scaleConfig value in the custom resource for scaling. Work with your IBM
Sales representative to get an accurate sizing based on your expected workload. IBM Sales can help
you estimate the total demand for Data Virtualization. For information about the process for scaling Data Virtualization, see Scaling Data Virtualization. |
|
|
✓ | ||
|
✓ |
Work with your IBM Sales representative to size your cluster. For more information about scaling Db2, see Scaling up Db2. |
|
|
✓ | This service is scaled by using the Db2 Big SQL instance details page in the Cloud Pak for Data web interface. Worker nodes use dynamic
provisioning to allow for efficient scaling up and down of the service. For information about scaling Db2 Big SQL, see Updating instance configuration in the Db2 Big SQL documentation. |
|
|
|||
|
✓ | For information about scaling the Db2 Data Management Console service, see Scaling Db2 Data Management Console. | |
|
|||
|
✓ |
Work with your IBM Sales representative to size your cluster. For more information about scaling Db2 Warehouse, see Scaling up Db2. |
|
|
✓ | Decision Optimization uses the
scaling command to scale the service. When replicas are scaled, the CPUs and
memory are also scaled.
|
|
|
✓ | ||
|
|||
|
✓ | Guardium External S-TAP supports the following
sizes:
Specify sizes |
|
|
✓ |
IBM Match 360 supports the following sizes:
Work with your IBM Sales representative to get accurate sizing based on your expected workload. |
|
|
✓ | ||
|
|||
|
✓ | Horizontal scaling is supported by OpenShift® Container Platform. | |
|
✓ |
When you provision an OpenPages instance, you choose a size for the instance.
The following sizes are available:
See Scaling OpenPages for detailed information about scaling the service. |
|
|
✓ | ||
|
✓ |
When replicas are scaled, the CPUs and memory are scaled according to the selection. The service supports an extra large ( |
|
|
|||
|
✓ | ||
|
|||
|
✓ | You can specify the size of the deployment by specifying the size field
in the CR. The options are small , medium , and
large . The default size is medium . |
|
|
✓ |
You can specify size of the deployment when the CR is created by specifying the
spec.shared.deploymentType as either |
|
|
✓ | To scale Watson Knowledge
Catalog, first you modify
the Watson Knowledge
Catalog CR size setting
(spec.scaleConfig ) to medium or large, and then you must separately scale your Db2u
instances. You must also separately scale your InfoSphere® Information Server CR.For more information, see Scaling up Db2 for Watson Knowledge Catalog. Legacy services always use one replica. |
|
|
✓ | Watson Knowledge
Studio supports
small and medium configurations. The default size is
small . |
|
|
✓ |
Watson Machine Learning supports small and
medium configurations. |
|
|
✓ | ||
|
✓ | Watson OpenScale supports
small and medium configurations. For large
configurations, work with your IBM representative. |
|
|
✓ | Watson Speech to
Text supports extra
small (xsmall ) configurations, which is the default size for the service. |
|
|
✓ | ||
|
✓ | Watson Studio Runtimes are started with the requested resources only. You cannot scale up the started runtime. Every runtime is user and project bound. | |
|
✓ | Watson Text to
Speech supports extra
small (xsmall ) configurations, which is the default size for the service. |
Changing the scaling configuration of a service
To change the scaling configuration of a service by using the oc edit command
- Run the following command to edit the CR for the
service:
oc edit kind cr-name --namespace project
Replace kind and cr-name with the values for the service. Replace project with the project where you installed Cloud Pak for Data.
-
Add the scaleConfig variable to the service's CR. For example, to change the configuration from the default
small
, tomedium
, you would add the following setting to thespec
section of the CR:... spec: scaleConfig: "medium" ...
After the change to the CR, the scaling is updated during the next reconcile loop by an operator that is watching for the changes. For example, the configuration is changed from small to medium during the loop.
- For services that don't support scaling, add eitherThe CR skips any scaling requests.
NIL
orNone
to the scaleConfig variable in the service's CR, as shown in the following example that usesNIL
:... spec: scaleConfig: "NIL" ...
To change the scaling configuration of a service by using the oc patch command
- Run the following command to edit the CR for the
service:
oc patch kind cr-name -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Replace kind and cr-name with the values for the service.
Replace project with the project where you installed Cloud Pak for Data.
Replace size with the appropriate size value (small, medium, or large.
The following sections have instructions for using the oc patch command to scale specific services:
Cloud Pak for Data control plane
oc patch ZenService lite-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default lite-cr, use the new CR name in the command.
Common core services
oc patch CCS ccs-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default ccs-cr, use the new CR name in the command.
Analytics Engine Powered by Apache Spark
oc patch AnalyticsEngine analyticsengine-sample -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default analyticsengine-sample, use the new CR name in the command.
Cognos Analytics
oc patch CAService ca-addon-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small fixed
(no scale),
small, medium, or large.
If you changed the CR name from the default ca-addon-cr, use the new CR name in the command.
Cognos Dashboards
oc patch CdeProxyService cdeproxyservice-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default cdeproxyservice-cr, use the new CR name in the command.
Data Privacy
oc patch DP dp-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default dp-cr, use the new CR name in the command.
Data Refinery
oc patch DataRefinery datarefinery-sample -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default datarefinery-sample, use the new CR name in the command.
DataStage
oc patch DataStage datastage -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default datastage, use the new CR name in the command.
Db2 Data Management Console
oc patch Dmcaddon dmc-addon -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default dmc-addon, use the new CR name in the command.
EDB Postgres
oc patch CPDEdbService cpd-edb-service -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default cpd-edb-service, use the new CR name in the command.
Guardium External S-TAP
oc patch EstapService estap-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
small
small-highmem
small-lowmem
medium
medium-highmem
medium-lowmem
large
large-highmem
large-lowmem
xlarge
xlarge-highmem
xlarge-lowmem
If you changed the CR name from the default estap-cr, use the new CR name in the command.
IBM Match 360 with Watson
oc patch MasterDataManagement mdm-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is xsmall (demonstration use), small, medium, or large.
If you changed the CR name from the default mdm-cr, use the new CR name in the command.
Informix
oc patch InformixService informixservice-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default informixservice-cr, use the new CR name in the command.
Planning Analytics
oc patch PAService ibm-planning-analytics-service -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default ibm-planning-analytics-service, use the new CR name in the command.
Product Master
oc patch ProductMaster productmaster-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, large, or xlarge.
If you changed the CR name from the default productmaster-cr, use the new CR name in the command.
SPSS Modeler
oc patch Spss spss-sample -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default spss-sample, use the new CR name in the command.
Watson Knowledge Studio
oc patch KnowledgeStudio wks -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is either small or medium.
If you changed the CR name from the default wks, use the new CR name in the command.
Watson Machine Learning
oc patch WmlBase wml-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is either small or medium.
If you changed the CR name from the default wml-cr, use the new CR name in the command.
Watson Machine Learning Accelerator
oc patch Wmla-add-on wmla -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default wmla, use the new CR name in the command.
Watson OpenScale
oc patch WOService aiopenscale -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is either small or medium.
If you changed the CR name from the default aiopenscale, use the new CR name in the command.
Watson Text to Speech
oc patch WatsonSpeech speech-prod-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is xsmall, small, medium, or large.
If you changed the CR name from the default speech-prod-cr, use the new CR name in the command.
Watson Studio
oc patch WS ws-cr -n project -p '{"spec":{"scaleConfig":"size"}}' --type=merge
Change project to the project where you installed Cloud Pak for Data.
The size is small, medium, or large.
If you changed the CR name from the default ws-cr, use the new CR name in the command.