- Created a new Dockerfile for PostgreSQL using the Bitnami repmgr image. - Added a comprehensive `librepmgr.sh` script to manage PostgreSQL replication, including functions for node identification, password management, configuration validation, and primary/standby node operations. - Implemented environment variable validations and PostgreSQL configuration injections for replication settings. - Included functions for creating the repmgr user and database, as well as handling node registration and failover processes. Signed-off-by: zhenyus <zhenyus@mathmast.com> |
||
|---|---|---|
| 3rd | ||
| apps | ||
| assets | ||
| cluster | ||
| first-class-pipeline | ||
| freeleaps | ||
| infra | ||
| magicleaps | ||
| migrate | ||
| operators/freeleaps-gitops-initializer | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| migrate.dsl | ||
| README.md | ||
Freeleaps Ops
All GitOps relates manifests or scripts.
Introduce
This repo has stored all manifests files of Freeleaps productions, infrastructures and cluster.
The project layout is follow this pattern:
How to use ?
Please do not edit files under this repo if you do not know what you doing.
This repo files are managed by CI/CD services (Jenkins, Argo CD etc,.).
About cluster folder
P.S. THIS FOLDER IS ONLY USED FOR CLUSTER ADMINISTRATOR, YOU MUST KNOW WHAT YOU DOING BEFORE YOU MODIFY IT.
If you want to working with cluster folder, you must set-up local maintaining environment first.
You need make sure you havePython 3environment in local andAnsiblealready installed.
And you need to make sure rungit submodule update --init --recursiveto clonekubesprayrepo before you start to work.
cluster folder stores the infrastructure components, applications manifests and kubespray configuration files for entire cluster.
cluster/manifests/<namespace>/<component> stores the manifests of components or applications.
cluster/ansible/ see cluster/ansible/README.md
