From 39b363fc2b45c95ac6f8bd6c1c1ecbf143b87eee Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 15:29:38 +0000 Subject: [PATCH] docs: document storageGigabytes for managed postgres/redis addons --- .../addons-porter-yaml.mdx | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/applications/configuration-as-code/addons-porter-yaml.mdx b/applications/configuration-as-code/addons-porter-yaml.mdx index ef60f42..af857a2 100644 --- a/applications/configuration-as-code/addons-porter-yaml.mdx +++ b/applications/configuration-as-code/addons-porter-yaml.mdx @@ -83,9 +83,9 @@ addons: config: name: cache masterUserPassword: password - allocatedStorage: 2 # Persistent storage size in GB. Cannot be changed after creation. cpuCores: 0.1 ramMegabytes: 110 + storageGigabytes: 2 # Persistent storage size in GB. - name: db type: MANAGED-POSTGRES engine: POSTGRES @@ -93,8 +93,24 @@ addons: config: name: db masterUserPassword: password - allocatedStorage: 2 cpuCores: 0.1 ramMegabytes: 110 + storageGigabytes: 2 ``` +## Resource configuration + +Managed Postgres and Redis addons accept the following resource fields under `values.config`: + +| Field | Type | Description | UI range | +| :--- | :--- | :--- | :--- | +| `cpuCores` | number | CPU allocation for the addon (e.g. `0.1`, `0.5`, `1`). | Bounded by the cluster node size. | +| `ramMegabytes` | integer | Memory allocation in megabytes. | Bounded by the cluster node size. | +| `storageGigabytes` | integer | Persistent storage size in GB. | `1`–`100` GB. | + +You can also edit these values from the **Resources** tab of the Postgres or Redis addon in the Porter dashboard, which exposes CPU, RAM, and Storage sliders. + + +The dashboard sliders clamp `storageGigabytes` at **100 GB**. To allocate more, set the value directly in `porter.yaml` — values above 100 declared in YAML are preserved as-is and are not silently clamped. + +