# Postgres Installation

PostgreSQL is a prerequisite for installing Bindplane. This document provides useful information on how to install PostgreSQL.

### Postgres Installation

Bindplane supports PostgreSQL on Linux, Kubernetes, and cloud providers. The following table shows the PostgreSQL versions supported and the Bindplane version that introduced support:

| PostgreSQL Version | Bindplane Version |
| ------------------ | ----------------- |
| 14                 | All versions      |
| 15                 | All versions      |
| 16                 | All versions      |
| 17                 | v1.94.3+          |

#### Linux

This guide will not cover the installation of PostgreSQL on Linux. Please refer to the [PostgreSQL documentation](https://www.postgresql.org/download/linux/) for installation instructions.

#### Kubernetes

Operating PostgreSQL on Kubernetes is supported but not recommended. If you must run\
PostgreSQL on Kubernetes, [CloudNativePG](https://cloudnative-pg.io/) operator is recommended.

Take care when operating stateful applications on Kubernetes. Stateful applications require\
persistent storage.

#### Cloud Provider

* [Google Cloud SQL](https://cloud.google.com/sql?hl=en)
* [Amazon Relational Database Service (RDS)](https://aws.amazon.com/rds/)
* [Azure Database for PostgreSQL](https://azure.microsoft.com/en-us/products/postgresql)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/deployment/virtual-machine/bindplane/postgresql/postgres-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
