当前位置:网站首页>K8s deployment of highly available PostgreSQL Cluster -- the road to building a dream
K8s deployment of highly available PostgreSQL Cluster -- the road to building a dream
2022-06-24 08:44:00 【The road to dream】
git clone https://github.com/sorintlab/stolon.git
perhaps
git clone https://gitee.com/mirrors/stolon.git
stolon/README.md at master · sorintlab/stolon · GitHub
Stolon from 3 The main parts are
- keeper: It manages a PostgreSQL The example converges to that calculated by the leader sentry clusterview.
- sentinel: It detects and monitors keepers and proxy, And calculate the best clusterview.
- proxy: Client access point . It forces the connection to the correct PostgreSQL Lord The server And force the connection to the old master server to be closed .

Stolon Is a PostgreSQL High availability cloud native PostgreSQL Manager . It's cloud native , Because it allows you to Containers in (kubernetes Integrate ) And all other types of infrastructure ( cloud IaaS、 Old infrastructure, etc ) Maintain high availability on PostgreSQL.
function
- utilize PostgreSQL Streaming replication .
- Adapt to any type of partition . While trying to maintain maximum availability , It prefers consistency to usability .
- kubernetes Integration enables you to postgreSQL High availability .
- Use etcd、consul or kubernetes API server And other cluster storage as highly available data storage and storage leader The election .
- asynchronous ( Default ) And synchronous replication .
- Complete cluster setup in a few minutes .
- Easy and simple cluster management .
- With your preferred backup / Recovery tool integration for point in time recovery .
- Standby cluster ( For multi site replication and migration with near zero downtime ).
- Automatic service discovery and dynamic reconfiguration ( Handle postgres and stolon The process changes its address ).
- have access to pg_rewind With the current master Fast instance resynchronization .
More detailed introduction to architecture , You can see the following link
https://github.com/sorintlab/stolon/blob/master/doc/architecture.md
Relevant configuration documents, etc , See the following links
https://github.com/sorintlab/stolon/blob/master/doc/README.md
K8S The installation steps are as follows
https://github.com/sorintlab/stolon/blob/master/examples/kubernetes/README.md
Reference material :kubernetes Cluster deployment high availability Postgresql Of Stolon programme - Let's have a look
kubernetes Cluster deployment high availability Postgresql Of Stolon programme - Let's have a look
边栏推荐
- ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language
- AUTO PWN
- Vscode install the remote -wsl plug-in to connect to the local WSL
- leetcode 1642. Furthest building you can reach
- Blue screen error UNMOUNTABLE boot volume of the solution
- Numpy 中的方法汇总
- Shell basic operator -- arithmetic operator
- 分布式 | 如何与 DBLE 进行“秘密通话”
- Pyqt common system events
- Rsync for file backup
猜你喜欢

ZUCC_ Principles of compiling language and compilation_ Experiment 03 getting started with compiler

ZUCC_ Principles of compiling language and compilation_ Experiment 0607 grammar analysis ll analysis

ZUCC_ Principles of compiling language and compilation_ Experiment 01 language analysis and introduction

什么是SRE?一文详解SRE运维体系

Xiaohei ai4code code baseline nibble 1

分布式 | 如何与 DBLE 进行“秘密通话”

Background management of uniapp hot update

Send custom events in QT

ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language

MATLAB Camera Calibrator相机标定
随机推荐
Redis的Cluster集群数据倾斜
Several schemes of PHP code encryption
Smart power plant: how to make use of easycvr to build a safe, stable, green and environment-friendly intelligent inspection platform
Vscode install the remote -wsl plug-in to connect to the local WSL
Earthly 容器镜像构建工具 —— 筑梦之路
ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis
【关于运维和网工的差别,一文说透】
js中通过key查找和更新对象中指定值的方法
leetcode 1642. Furthest Building You Can Reach(能到达的最远的建筑)
【力扣10天SQL入门】Day3
2022春招面试总结
mysql组合索引的有序性
pymysql 向MySQL 插入数据无故报错
There was an error checking the latest version of pip
liunx服务器 telnet 带用户名 端口登陆方法
Building a static website with eleventy
leetcode 1642. Furthest building you can reach
成为IEEE学生会员
Jenkins自动化部署,连接不到所依赖的服务【已解决】
QT source code analysis -- QObject (2)