Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs: add gateway pools documentation with screenshots and FAQ
bernie-gc558d9f342b3
diff --git a/docs/docs.json b/docs/docs.jsonindex f00db502ad..668e8f708a 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -193,6 +193,7 @@"group": "Gateway","pages": ["documentation/platform/gateways/overview",+ "documentation/platform/gateways/gateway-pools","documentation/platform/gateways/gateway-deployment",{"group": "Relay Deployment",diff --git a/docs/documentation/platform/gateways/gateway-pools.mdx b/docs/documentation/platform/gateways/gateway-pools.mdxnew file mode 100644index 0000000000..cbcbaf6524--- /dev/null+++ b/docs/documentation/platform/gateways/gateway-pools.mdx@@ -0,0 +1,92 @@+---+title: "Gateway Pools"+sidebarTitle: "Gateway Pools"+description: "High availability and automatic failover for gateways"+---++Gateway Pools provide high availability for your gateway infrastructure. A pool is a named collection of gateways that all have connectivity to the same private network. When the platform needs to reach a resource through a pool, it automatically routes through a healthy member, providing failover if any individual gateway goes down.++<Info>+ Gateway Pools is an enterprise feature. Self-hosted users can contact+ [[email protected]](mailto:[email protected]) to purchase an enterprise+ license.+</Info>++## How It Works++1. You create a Gateway Pool and add multiple gateways that share network access to the same resources.+2. When configuring a consumer (e.g., Kubernetes Auth), you select the pool instead of an individual gateway.+3. At request time, the platform picks a random healthy gateway from the pool and routes through it.+4. If a gateway goes down, subsequent requests automatically route through the remaining healthy members.++A gateway is considered healthy if it has sent a heartbeat within the last hour and its last health check did not fail.++## Creating a Gateway Pool++1. Navigate to **Organization Settings > Networking > Gateways**.+2. Click the **Gateway Pools** tab.++++3. Click **Create Pool**.++++4. Enter a name for the pool and click **Create Pool**.++++## Adding Gateways to a Pool++1. In the **Gateway Pools** tab, click on a pool to open its detail view.++++2. Click **Add Gateway** and select a gateway from the dropdown.++++3. Repeat for each gateway you want to add.++A gateway can belong to multiple pools if it has connectivity to resources served by each pool. Pool membership can be changed at any time without restarting the gateway.++## Using a Pool in a Consumer Config++Anywhere you configure a gateway, the gateway picker dropdown shows both individual gateways and gateway pools. Pools are listed under the "Gateway Pools" section with an **HA** (high availability) badge and health status.++When you select a pool, the platform validates connectivity through one of its healthy members before saving.++## Gateway Selection++When a request is routed through a pool, the platform picks a gateway at random from the pool's healthy members. There is no round-robin or weighted selection.++## Pool Health++Each pool displays an aggregate health status based on its members:++- **Green** (e.g., "3/3 healthy") - All members are healthy+- **Yellow** (e.g., "2/3 healthy") - Some members are unhealthy+- **Red** (e.g., "0/3 healthy") - All members are unhealthy++If all gateways in a pool are unhealthy when a request is made, the request fails with a descriptive error.++## FAQ++<AccordionGroup>+ <Accordion title="Which features support gateway pools?">+ Gateway pools can currently be selected in **Kubernetes Auth** configurations. Support for additional consumers such as dynamic secrets, PAM, and app connections is coming soon.+ </Accordion>+ <Accordion title="Can I delete a pool that is in use?">+ No. A pool cannot be deleted if it is referenced by any consumer configurations (e.g., Kubernetes Auth). You must first update those configurations to use a different gateway or pool before deleting.+ </Accordion>+ <Accordion title="How can I see what is using a pool?">+ Each pool shows a count of connected consumer configurations in the table. Click the count to see the full list with links to each resource.+ </Accordion>+ <Accordion title="What happens if all gateways in a pool are unhealthy?">+ The request fails with a descriptive error. You should ensure at least one gateway in the pool is online and has a recent heartbeat.+ </Accordion>+ <Accordion title="Can a gateway belong to multiple pools?">+ Yes. A gateway can belong to as many pools as needed, as long as it has connectivity to the resources served by each pool.+ </Accordion>+</AccordionGroup>+diff --git a/docs/documentation/platform/gateways/overview.mdx b/docs/documentation/platform/gateways/overview.mdxindex 33945337b6..b3f77efe4e 100644--- a/docs/documentation/platform/gateways/overview.mdx+++ b/docs/documentation/platform/gateways/overview.mdx@@ -65,6 +65,10 @@ To monitor their operational status, both gateways and relays transmit hourly heInfisical automatically notifies all organization admins of unhealthy gateway or relay statuses through email and in-app notifications.+## High Availability with Gateway Pools++For production workloads, you can group multiple gateways into a **Gateway Pool** to provide automatic failover. When a gateway in a pool goes down, the platform routes through a healthy member automatically. See [Gateway Pools](/documentation/platform/gateways/gateway-pools) for details.+## Getting StartedReady to set up your gateway? Follow the guides below.@@ -73,11 +77,14 @@ Ready to set up your gateway? Follow the guides below.<Card title="Gateway Deployment" href="/documentation/platform/gateways/gateway-deployment">Deploy and configure your gateway within your network infrastructure.</Card>+ <Card title="Gateway Pools" href="/documentation/platform/gateways/gateway-pools">+ Set up high availability with gateway pools for automatic failover.+ </Card>+</Columns>+<Columns cols={2}><Card title="Relay Deployment" href="/documentation/platform/gateways/relay-deployment">Set up relay servers if using self-deployed infrastructure.</Card>-</Columns>-<Columns cols={1}><Card title="Security Architecture" href="/documentation/platform/gateways/security">Learn about the security model and implementation best practices.</Card>diff --git a/docs/documentation/platform/identities/kubernetes-auth.mdx b/docs/documentation/platform/identities/kubernetes-auth.mdxindex f9412b92b1..3438930926 100644--- a/docs/documentation/platform/identities/kubernetes-auth.mdx+++ b/docs/documentation/platform/identities/kubernetes-auth.mdx@@ -207,6 +207,8 @@ In the following steps, we explore how to create and use identities for your app<Step title="Configure the Kubernetes Auth authentication method for the identity">To configure your Kubernetes Auth method to use the gateway as the token reviewer, set the `Review Method` to "Gateway as Reviewer", and select the gateway you want to use as the token reviewer.+ You can select either an individual gateway or a **Gateway Pool** for automatic failover. When a pool is selected, the platform routes through a healthy member at request time. See [Gateway Pools](/documentation/platform/gateways/gateway-pools) for more details.+</Step></Steps>diff --git a/docs/images/platform/gateways/gateway-pools-add-gateway.png b/docs/images/platform/gateways/gateway-pools-add-gateway.pngnew file mode 100644index 0000000000..e6e2fb8eeeBinary files /dev/null and b/docs/images/platform/gateways/gateway-pools-add-gateway.png differdiff --git a/docs/images/platform/gateways/gateway-pools-click-pool.png b/docs/images/platform/gateways/gateway-pools-click-pool.pngnew file mode 100644index 0000000000..8025414ba2Binary files /dev/null and b/docs/images/platform/gateways/gateway-pools-click-pool.png differdiff --git a/docs/images/platform/gateways/gateway-pools-create.png b/docs/images/platform/gateways/gateway-pools-create.pngnew file mode 100644index 0000000000..b07487d15fBinary files /dev/null and b/docs/images/platform/gateways/gateway-pools-create.png differdiff --git a/docs/images/platform/gateways/gateway-pools-switch.png b/docs/images/platform/gateways/gateway-pools-switch.pngnew file mode 100644index 0000000000..1d055219a8Binary files /dev/null and b/docs/images/platform/gateways/gateway-pools-switch.png differdiff --git a/docs/images/platform/gateways/gateway-pools-tab.png b/docs/images/platform/gateways/gateway-pools-tab.pngnew file mode 100644index 0000000000..4742bde463Binary files /dev/null and b/docs/images/platform/gateways/gateway-pools-tab.png differ