https://github.com/radondb/multi-platform-postgresql
High availability, High scalability, QingCloud Publish Open Source, PostgreSQL Operator On K8s and Machine
https://github.com/radondb/multi-platform-postgresql
citus docker k8s kopf operator pgautofailover postgis postgres
Last synced: 9 months ago
JSON representation
High availability, High scalability, QingCloud Publish Open Source, PostgreSQL Operator On K8s and Machine
- Host: GitHub
- URL: https://github.com/radondb/multi-platform-postgresql
- Owner: radondb
- License: other
- Created: 2022-07-19T07:29:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T10:19:14.000Z (over 1 year ago)
- Last Synced: 2025-03-26T15:41:52.408Z (over 1 year ago)
- Topics: citus, docker, k8s, kopf, operator, pgautofailover, postgis, postgres
- Language: Python
- Homepage:
- Size: 685 KB
- Stars: 14
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README

> English | [δΈζ](README_zh.md)
## What is RadonDB PostgreSQL
[PostgreSQL](https://www.postgresql.org/) The World's Most Advanced Open Source Relational Database.
[RadonDB PostgreSQL](https://github.com/radondb/multi-platform-postgresql) High availability, High scalability, QingCloud Publish Open Source, PostgreSQL Operator On K8s and Machine.
RadonDB PostgreSQL Kubernetes supports [Kubernetes](https://kubernetes.io) or machine platforms.
## QuickStarts
π This tutorial demonstrates how to deploy a RadonDB PostgreSQL cluster (Operator) on Kubernetes.
## Preparation
π¦ Prepare a Kubernetes cluster.
## Steps
### Step 1: Deploy RadonDB PostgreSQL Operator
Please select a method to deploy RadonDB PostgreSQL Operator.
1. By Helm
2. By Kubectl
#### a. By Helm
##### 1) Add a Helm repository.
```plain
helm repo add radondb-postgresql https://radondb.github.io/multi-platform-postgresql/
```
##### 2) Install Operator.
Create a [Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) named `radondb-postgres-operator`.
```plain
helm install demo radondb-postgresql/postgres-operator
```
> **Notice**
> This step also creates the [CRD](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) required by the cluster.
#### b. By Kubectl
##### 1) Create `radondb-postgres-operator` namespace
```plain
kubectl create ns radondb-postgres-operator
```
##### 2) Install Operator.
```plain
kubectl apply -f https://raw.githubusercontent.com/radondb/multi-platform-postgresql/main/platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml
```
### Step 2: Deploy a RadonDB PostgreSQL Cluster.
Run the following command to create an instance of the `postgresqls.postgres.radondb.io` CRD and thereby create a RadonDB PostgreSQL cluster by using the default parameters.
```plain
curl https://raw.githubusercontent.com/radondb/multi-platform-postgresql/main/platforms/kubernetes/postgres-operator/deploy/postgresql.yaml | sed -e "s/image: /image: radondb\//g" > postgresql.yaml
kubectl apply -f postgresql.yaml
```
## License
See [LICENSE](License) for more information.
## Welcome to join us β€οΈ
π Website: [https://radondb.com/](https://radondb.com/en/)
π Forum: Please join the [RadonDB](https://kubesphere.com.cn/forum/t/RadonDB) section of kubesphere Developer Forum.
π¦ Community WeChat group: Please add the group assistant **radondb** to invite you into the group.
For any bugs, questions, or suggestions about RadonDB multi-platform-postgresql, please create an [issue](https://github.com/radondb/multi-platform-postgresql/issues) on GitHub or feedback on the [forum](https://kubesphere.com.cn/forum/t/RadonDB).