Description

Ensure node pools that use autoscaling have a minimum node count that keeps the service available and a maximum node count that matches the expected load and budget, so the cluster cannot grow without limit.

Rationale

Without sensible limits, a traffic spike, a bug, or a denial-of-service attack can make the cluster add many nodes, causing large unexpected costs. A minimum that is too low can also cause outages. Setting both limits keeps the cluster available and the cost under control.

Impact

  • Prevents unexpected cost growth

  • Keeps enough nodes for availability

  • Limits may need tuning as load changes

Default Value

Autoscaling is off by default for node pools. When it is enabled, you set the minimum and maximum nodes.

Pre-Requisites

  • Permission to manage the Kubernetes cluster

  • Expected load and budget for the cluster

Test Plan

  1. Log in to the OVHcloud Control Panel at https://www.ovh.com/manager/.

  2. In the left-hand menu, select Public Cloud and choose your project.

  3. In the left-hand menu, select Managed Kubernetes Service, then click the cluster name to open it.

  4. Open the Node pools tab and review each node pool's autoscaling setting and its minimum and maximum nodes (or run kubectl get nodepools and check the MIN and MAX columns).

  5. If autoscaling is enabled with no sensible maximum, or the minimum is too low for availability, follow the implementation steps.

Implementation Steps

  1. Log in to the OVHcloud Control Panel at https://www.ovh.com/manager/.

  2. In the left-hand menu, select Public Cloud and choose your project.

  3. In the left-hand menu, select Managed Kubernetes Service, then click the cluster name to open it.

  4. Open the Node pools tab, click the ⋯ button in the node pool's row, and select Configure node pool size.

  5. Enable autoscaling, set the minimum and maximum pool size, and confirm.

Backout Plan

  1. Log in to the OVHcloud Control Panel at https://www.ovh.com/manager/.

  2. In the left-hand menu, select Public Cloud and choose your project.

  3. In the left-hand menu, select Managed Kubernetes Service, then click the cluster name to open it.

  4. Open the Node pools tab, select Configure node pool size from the ⋯ menu, and restore the previous values.

Reference