Published Initial texts of the project Kubegres , designed to create a cluster of replicated servers from the POSTGRESQL DBMS, deployed in the Container Insulation Infrastructure based on the Kubernets platform. The package also allows you to manage data replication between servers, create fail-to-adjust configurations and organize backup. The project code is written in the GO and spreads under the Apache 2.0 license.
The cluster created consists of one primary POSTGRESQL POD-node. and replicated real-time secondary POD-nodes synchronized with the primary node. In the event of a failure on the primary node, the system automatically transfers one of the secondary nodes into the discharge of primary and without stopping the work changes the replication configuration. It is possible to configure the regular backup of the database into a separate storage. The cluster configuration is set in YAML format. The node filling is created based on the official image of the container with PostgreSQL provided by the Docker project. The operation of the system is recognized as stable and it is already applied in industrial implementation.