---
title: "Resize MetalLB address pool"
method: PUT
path: "/api/v1/k8s/clusters/{cluster_id}/metallb-pool"
tags: ["Kubernetes"]
---

# Resize MetalLB address pool

`PUT /api/v1/k8s/clusters/{cluster_id}/metallb-pool`

Set how many private IPs MetalLB can hand to `LoadBalancer` services.

## Path parameters

- `cluster_id` string, required

## Headers

- `X-Project-ID` string, uuid, required

## Request body

- object
  - `size` integer, required

## Response `200`

Updated pool

- object
  - `success` boolean
  - `pool` K8sMetalLBPool
    - `enabled` boolean
    - `found` boolean — The address pool exists in the cluster
    - `addresses` string
    - `size` integer
    - `max_size` integer

## Other responses

- `400` — Invalid request parameters
- `404` — Resource not found

## Changes

- **2026-08-23** `72c803a128b2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/k8s/clusters/:cluster_id/metallb-pool/put.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/revisions/2f4df56be77c/schema)
