Scale a Deployment Using Replicas#
You can update a deployment to change the number of replicas as shown below. You may prefer to use an auto-scaler as described in Scale a Deployment Using a Horizontal Pod Autoscaler.
Create an overlay structure as described in Customize ESS.
Add the customization overlay:
#kustomization.yaml ... patches: - target: kind: Deployment name: ess-signup-static patch: |- - op: add path: /spec/replicas value: 3
By adding more Signup page pods, the customization helps with resiliency.