diff --git a/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDB.mdx b/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDB.mdx index ddeab216..cb2a9602 100644 --- a/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDB.mdx +++ b/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDB.mdx @@ -3,7 +3,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -This guide explains how to scale ScalarDB. +This guide explains how to scale ScalarDB. The contents of this guide assume that you used [Scalar Helm Chart](https://github.com/scalar-labs/helm-charts) to deploy ScalarDB Cluster, which is the recommended way. :::note @@ -14,45 +14,25 @@ Instead, please check where the bottleneck exists. If the bottleneck exists in t ::: - - Select your preferred tool for scaling ScalarDB Cluster. + - - + 1. Add the following to your custom values file, replacing `` with the number of pods you want to scale: - If you use [Scalar Helm Chart](https://github.com/scalar-labs/helm-charts) to deploy ScalarDB Cluster, you can scale your ScalarDB Cluster deployment as follows: + ```yaml + scalardbCluster: + replicaCount: + ``` - 1. Add the following to your custom values file, replacing `` with the number of pods you want to scale: + 1. Upgrade your ScalarDB Cluster deployment by running the following `helm upgrade` command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described: - ```yaml - scalardbCluster: - replicaCount: - ``` + ```console + helm upgrade scalar-labs/scalardb-cluster -n -f / --version + ``` - 1. Upgrade your ScalarDB Cluster deployment by running the following `helm upgrade` command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described: - - ```console - helm upgrade scalar-labs/scalardb-cluster -n -f / --version - ``` - - - - - If you deploy ScalarDB Cluster in a Kubernetes environment, you can temporarily scale your ScalarDB Cluster deployment by using the `kubectl scale` command. - - 1. Run the following `kubectl scale` command, replacing the contents in the angle brackets as described: - - ```console - kubectl scale --replicas= deployment/ - ``` - - - -

Scale ScalarDB Core

+ ScalarDB Core is provided as a Java library. So, when you scale your application, ScalarDB scales with your application.
- diff --git a/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDL.mdx b/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDL.mdx index 9d1207b8..504ee4ed 100644 --- a/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDL.mdx +++ b/versioned_docs/version-3.10/scalar-kubernetes/HowToScaleScalarDL.mdx @@ -3,7 +3,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -This guide explains how to scale ScalarDL. +This guide explains how to scale ScalarDL. The contents of this guide assume that you used [Scalar Helm Chart](https://github.com/scalar-labs/helm-charts) to deploy ScalarDL, which is the recommended way. :::note @@ -14,73 +14,36 @@ Instead, please check where the bottleneck exists. If the bottleneck exists in t ::: - - Select your preferred tool for scaling ScalarDL Ledger. + - - + 1. Add the following to your custom values file, replacing `` with the number of pods you want to scale: - If you use [Scalar Helm Chart](https://github.com/scalar-labs/helm-charts) to deploy ScalarDL Ledger, you can scale your ScalarDL Ledger deployment as follows: + ```yaml + ledger: + replicaCount: + ``` - 1. Add the following to your custom values file, replacing `` with the number of pods you want to scale: + 1. Upgrade your ScalarDL Ledger deployment by running the following `helm upgrade` command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described: - ```yaml - ledger: - replicaCount: - ``` + ```console + helm upgrade scalar-labs/scalardl -n -f / --version + ``` - 1. Upgrade your ScalarDL Ledger deployment by running the following `helm upgrade` command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described: - - ```console - helm upgrade scalar-labs/scalardl -n -f / --version - ``` - - - - - If you deploy ScalarDL Ledger in a Kubernetes environment, you can temporarily scale your ScalarDL Ledger deployment by using the `kubectl scale` command. - - 1. Run the following `kubectl scale` command, replacing the contents in the angle brackets as described: - - ```console - kubectl scale --replicas= deployment/ - ``` - - - - Select your preferred tool for scaling ScalarDL Auditor. - - - + - If you use [Scalar Helm Chart](https://github.com/scalar-labs/helm-charts) to deploy ScalarDL Auditor, you can scale your ScalarDL Auditor deployment as follows: + 1. Add the following to your custom values file, replacing `` with the number of pods you want to scale: - 1. Add the following to your custom values file, replacing `` with the number of pods you want to scale: + ```yaml + auditor: + replicaCount: + ``` - ```yaml - auditor: - replicaCount: - ``` + 1. Upgrade your ScalarDL Auditor deployment by running the following `helm upgrade` command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described: - 1. Upgrade your ScalarDL Auditor deployment by running the following `helm upgrade` command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described: + ```console + helm upgrade scalar-labs/scalardl-audit -n -f / --version + ``` - ```console - helm upgrade scalar-labs/scalardl-audit -n -f / --version - ``` - - - - - If you deploy ScalarDL Auditor in a Kubernetes environment, you can temporarily scale your ScalarDL Auditor deployment by using the `kubectl scale` command. - - 1. Run the following `kubectl scale` command, replacing the contents in the angle brackets as described: - - ```console - kubectl scale --replicas= deployment/ - ``` - - -