9.3.1 Scaling Down Using a YAML File

  1. Navigate to the $WORKDIR/kubernetes/helm directory:
    cd $WORKDIR/kubernetes/helm
  2. Create an oud-scaledown-override.yaml file and set the replicaCount:
    replicaCount: 3
  3. Run the following command to scale down the OUD pods:
    helm upgrade --namespace <namespace> \
    --values oud-scaledown-override.yaml \
    <release_name> oud-ds-rs --reuse-values
    For example:
    helm upgrade --namespace oudns \
    --values oud-scaledown-override.yaml \
    oud-ds-rs oud-ds-rs --reuse-values