Update Resource Pools
Overview⚓︎
Update pools to adjust replicas, CPU, memory, or storage after creation.
Use the UI or API for quick edits, or hydrolixcluster.yaml for versioned configuration.
Pools can’t be renamed or have their service type changed. To change those, create a new pool.
Update a pool in the UI⚓︎
- Go to Scale in the left navigation.
- Select the menu for the pool you want to update.
- Edit the fields you need.
- Select Publish update.
Update a pool with the API⚓︎
Use the Update Pool endpoint.
Update an automatic pool⚓︎
When you configure a new table source, Hydrolix creates a pool automatically. You can’t update these pools through the source endpoints. Instead, use the Update Pool endpoint.
Update a pool with hydrolixcluster.yaml⚓︎
The update method depends on how the pool was created:
- Manually created pools: update settings in the
poolssection. - Automatically created pools or defaults: update settings in the
scalesection.
This example shows two intake pools:
Result⚓︎
intake-pool-1:replicas: 2,cpu: 3: Pool sets replicas, global sets CPUintake-pool-2:replicas: 3,cpu: 1: global sets replicas, pool sets CPU
Scale a pool⚓︎
Scale a pool to adjust replicas, CPU, memory, or storage without affecting other pools.
Use the UI or API for quick changes, or hydrolixcluster.yaml for versioned configuration.
Most pool services are stateless. If you scale stateful services such as postgres, review Stateful and Stateless Scaling and PVC impacts before making changes.
Scale settings⚓︎
These keys control how a pool uses resources:
| Setting | Description | Unit |
|---|---|---|
replicas |
Number or range of pods in the pool | Integer or range (for example 3 or 1-5) |
cpu |
CPU requested per pod | Number (can be fractional, such as 0.5 or 725m) |
memory |
RAM requested per pod | Mi or Gi |
storage |
Ephemeral storage per container | Mi or Gi |
target_cpu_utilization_percentage* |
Target CPU for the Horizontal Pod Autoscaler (HPA) | 0–100, whole number |
* You can’t set target_cpu_utilization_percentage with the API. Use hydrolixcluster.yaml or Kubernetes directly.
Scale a pool in the UI⚓︎
- Open Scale in the left navigation.
- Find the pool and select the menu.
- Update replicas and resources.
- Select Publish update.
Scale a pool with the API⚓︎
Use the Update pool endpoint.
Scale a pool with hydrolixcluster.yaml⚓︎
Update a manually created pool⚓︎
Set an HPA target⚓︎
This example sets the CPU target to 30% for the Horizontal Pod Autoscaler (HPA).
Precedence of scale and pools settings⚓︎
Values under spec.scale.<service> apply to all pools of that service unless a pool defines its own value.
Example:
Result⚓︎
intake-pool-1:replicas: 2,cpu: 3-> Pool sets replicas, global sets CPUintake-pool-2:replicas: 3,cpu: 1-> Global sets replicas, pool sets CPU