Scaling the Timeseries Service to handle large data

Use this information to scale in and scale out the TimeSeries Service ff you have large data from the installed Technology Packs.

Procedure

  • Log in to your OpenShift® Container Platform web console on your primary cluster.

Scaling in the Timeseries Service

  • Expand Workloads > Pods > timeseries-0.

  • Click the YAML tab.
  • Update the memory and cpu values according to the data in your environment in the Timeseries Stateful Set YAML file in the following section:
    containers:
            - resources:
                limits:
                  cpu: '1'
                  memory: '<1610612736>'
                requests:
                  cpu: '1'
                  memory: '<1610612736>'
  • Click Save.

    The timeseries-0 Pod is restarted automatically.

Scaling out the Timeseries Service by replicating the Timeseries Pod instances

  • Expand Workloads > Pods > timeseries-0.
  • Click the Teminal tab and give the following command:
    Note: You must run this command to increase the Pod count.
    curl http://localhost:30014/cluster?setClusterSize=3
    Successsh-4.4$ ^C
  • Expand Workloads > StatefulSets > timeseries.
  • Click Actions > Edit Pod count and give number to replicate the Pods.

    For example, give 3 based on the number specified in the curl command.

  • Click Save.