9.3.1 Scaling Down Using a YAML File

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