Skip to main content

Autoscale in Private Cluster

Autoscaling in a Private Cluster allows automatic adjustment of compute resources by dynamically adding or removing nodes based on demand.


Steps to Create Autoscale in a Private Cluster

1. Select Saved Image

  • Navigate to the Auto Scaling section in the sidebar and click Create Autoscale. Scheduled Policy

  • Choose a saved image from the available list.

    Select Saved Image


2. Select Plan

  • Choose Private Cluster as the plan type.

  • Select the target Private Cluster from the dropdown.

  • Choose the Schedule Policy (e.g., Round Robin).

  • Allocate CPU, RAM, and Storage based on requirements.

  • Select the target Host(s) to deploy autoscale nodes.

    Select Plan


3. Configure Scale Group Settings

  • Provide a Scale Group Name.

  • Define Minimum Nodes and Maximum Nodes for the autoscale group.

  • Select a Scaling Policy:

    • Elastic Policy – Auto-adjusts resources based on utilization (e.g., CPU, RAM).
    • Scheduled Policy – Allows scaling at specific times using cron expressions.
    • Elastic & Scheduled Policy – Combines both for maximum flexibility.

    Elastic Policy


4. Configure Policies

Elastic Policy

  • Set scaling triggers based on utilization metrics (CPU, RAM, etc.).

  • Define thresholds:

    • Add node when utilization > X%
    • Remove node when utilization < Y%
  • Configure Watch Period, Duration, and Cooldown timers.

    Elastic Policy

Scheduled Policy

  • Define scaling rules using cron expressions.

  • Set Recurrence (time-based) and Cardinality (number of nodes to scale).

    Scheduled Policy

Elastic & Scheduled Policy

  • Use both Elastic and Scheduled rules together:

    • Elastic Scaling handles real-time load changes (e.g., add node when CPU > 60%).
    • Scheduled Scaling ensures predictable resource availability at fixed times (e.g., upscale to 4 nodes at 9 AM on weekdays).
    • This ensures cost efficiency while maintaining performance reliability.

    Elastic + Scheduled Policy


5. Configure Network Settings

  • Select the VPC for private communication within the cluster.
  • Enable Public IP Assignment (Optional).
Note

The VPC field is mandatory when creating Autoscale in a Private Cluster.

Network Settings


6. Configure Security

  • Enable Encryption for storage (Optional).

  • Select an existing Security Group or create a new one.

  • Click Create Scale to complete setup.

    Security Settings


Managing Autoscale

  • Navigate to the Auto Scaling section.

  • Select the autoscale group to view details - Scale Group Parameters, Network & Security Settings, Monitoring & Audit Logs.

Manage Autoscale