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
.
Go to your ESS installation directory:
cd ${HOME}/ess
Modify the
kustomization.yaml
(i.e., step 3 of the Applying Your Customizations procedure).Specifically, add the highlighted content to the
kustomization.yaml
file under thereplicas
key:Tip
If
replicas
key does not exist inkustomization.yaml
, add the keyreplicas
as well.# kustomization.yaml in your ESS installation directory # ... Preceding content omitted for brevity # ... replicas: - name: ess-pod-provision count: 2
Continue with the rest of the Applying Your Customizations procedure.