forked from cloudnative-pg/charts
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a95369
commit bc562a6
Showing
3 changed files
with
52 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# ParadeDB CloudNativePG Cluster | ||
|
||
This README documents the Helm chart for deploying and managing [ParadeDB](https://github.com/paradedb/paradedb) on Kubernetes via [CloudNativePG](https://cloudnative-pg.io/), including advanced settings. | ||
The [ParadeDB](https://github.com/paradedb/paradedb) Helm Chart is based on the official [CloudNativePG Helm Chart](https://cloudnative-pg.io/). CloudNativePG is a Kubernetes operator that manages the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture using Postgres streaming replication. | ||
|
||
Kubernetes, and specifically the CloudNativePG operator, is the recommended approach for deploying ParadeDB in production. ParadeDB also provides a [Docker image](https://hub.docker.com/r/paradedb/paradedb) and [prebuilt binaries](https://github.com/paradedb/paradedb/releases) for Debian, Ubuntu and Red Hat Enterprise Linux. | ||
Kubernetes, and specifically the CloudNativePG operator, is the recommended approach for deploying ParadeDB in production, with high availability. ParadeDB also provides a [Docker image](https://hub.docker.com/r/paradedb/paradedb) and [prebuilt binaries](https://github.com/paradedb/paradedb/releases) for Debian, Ubuntu and Red Hat Enterprise Linux. | ||
|
||
The chart is also available on [ArtifactHub](https://artifacthub.io/packages/helm/paradedb/paradedb). | ||
|
||
## Getting Started | ||
|
||
### Installing the Operator | ||
First, install [Helm](https://helm.sh/docs/intro/install/). The following steps assume you have a Kubernetes cluster running v1.25+. If you are testing locally, we recommend using [Minikube](https://minikube.sigs.k8s.io/docs/start/). | ||
|
||
### Installing the CloudNativePG Operator | ||
|
||
Skip this step if the CNPG operator is already installed in your cluster. | ||
|
||
|
@@ -32,9 +36,9 @@ cluster: | |
size: 256Mi | ||
``` | ||
You can refer to the other examples in the [`charts/paradedb/examples`](https://github.com/paradedb/charts/tree/main/charts/paradedb/examples) directory. | ||
Then, launch the ParadeDB cluster. | ||
```console | ||
```bash | ||
helm repo add paradedb https://paradedb.github.io/charts | ||
helm upgrade --install paradedb \ | ||
--namespace paradedb-database \ | ||
|
@@ -43,7 +47,23 @@ helm upgrade --install paradedb \ | |
paradedb/paradedb | ||
``` | ||
|
||
A more detailed guide can be found in the [Getting Started docs](<./docs/Getting Started.md>). | ||
If `--values values.yaml` is omitted, the default values will be used. For additional configuration options for the `values.yaml` file, please refer to the [ParadeDB Helm Chart documentation](https://artifacthub.io/packages/helm/paradedb/paradedb#values). For advanced cluster configuration options, please refer to the [CloudNativePG Cluster Chart documentation](charts/paradedb/README.md). | ||
|
||
A more detailed guide on launching the cluster can be found in the [Getting Started docs](<./docs/Getting Started.md>). To get started with ParadeDB, we suggest you follow the [quickstart guide](/documentation/getting-started/quickstart). | ||
|
||
### Connecting to a ParadeDB CNPG Cluster | ||
|
||
The command to connect to the primary instance of the cluster will be printed in your terminal. If you do not modify any settings, it will be: | ||
|
||
```bash | ||
kubectl --namespace paradedb-database exec --stdin --tty services/paradedb-rw -- bash | ||
``` | ||
|
||
This will launch a shell inside the instance. You can connect via `psql` with: | ||
|
||
```bash | ||
psql -d paradedb | ||
``` | ||
|
||
Cluster Configuration | ||
--------------------- | ||
|
@@ -238,4 +258,3 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentat | |
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| ParadeDB | <[email protected]> | <https://paradedb.com> | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters