# Scale a Deployment Using Replicas

## Scale a Deployment Using Replicas

You can update a deployment to change the number of replicas as shown below.

### Example Customization

Adding more Pod provisioning helps with resiliency. The following example file sets the number of replicas for **`ess-pod-provision`** deployment to **`2`** .

1. Go to your ESS installation directory:

   ```sh
   cd ${HOME}/ess
   ```
2. Modify the **`kustomization.yaml`** (i.e., step 3 of the [Applying Your Customizations](/ess/2.3/installation/customize-configurations.md) procedure).\
   Specifically, add the highlighted content to the **`kustomization.yaml`** file under the **`replicas`** key:\\

   {% hint style="info" %} **Tip**

   If **`replicas`** key does not exist in **`kustomization.yaml`** , add the key **`replicas`** as well. {% endhint %}

   <pre class="language-yaml"><code class="lang-yaml"># kustomization.yaml in your ESS installation directory

   # ...  Preceding content omitted for brevity 
   # ...

   replicas:
   <strong>- name: ess-pod-provision
   </strong><strong>  count: 2
   </strong></code></pre>

   3\. Continue with the rest of the \[Applying Your Customizations]\(../../customize-configurations/) procedure.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inrupt.com/ess/2.3/installation/customize-configurations/general/scale-a-deployment-using-replicas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
