vitabaks / postgresql_cluster

Automated database platform for PostgreSQL® — the open-source alternative to cloud-managed databases.
https://postgresql-cluster.org
MIT License
1.84k stars 418 forks source link

Console (UI/API): Cluster management functionality #754

Open vitabaks opened 2 months ago

vitabaks commented 2 months ago

With the release of postgresql_cluster version 2.0, we introduced a Console (UI) designed for deploying clusters through a graphical interface. The next step is to add functionality for managing an already deployed cluster through the UI, including:

Example:

3  Cluster pages

Note: Access to the Figma project with all implementation details will be provided during development.


Consider sponsoring the project via GitHub or Patreon

vitabaks commented 2 months ago

If you're interested in this feature, please consider becoming a sponsor.

The development of this feature requires sponsorship to fund developer efforts. If you're already a sponsor and are interested in this feature, please leave a comment here so we can prioritize this issue accordingly.

We also welcome contributions from those willing to dedicate their time to implement this feature on a voluntary basis. Please see the Contributing Guide for more information.

stanlog commented 4 days ago

Hello @vitabaks thank you so much for this marvelous software, and all this work of automation with Ansible.

I don't know if it's the right place to put a wish list, but I realized a little lack last days when testing deployments : I can't import an existing cluster deployed through command line and Ansible into the UI (or I pass by this feature). Do you think it would be possible ? (even if I have to connect in bash in the container and launch several commands to do the job). I tried to deploy my cluster in the UI, adapted vars in Ansible automation files, and config / update cluster launching ansible-playbook commands, but it's not really simple, and not really do the job in some cases.

vitabaks commented 4 days ago

Hello @stanlog Thank you for your feedback and suggestion.

For the feature request to import an existing cluster into the Console, it’s better to create a separate issue so we can track and consider it for future development.

In the meantime, this can be done manually by adding the cluster data directly into the clusters and servers tables in the console database.

stanlog commented 4 days ago

For the feature request to import an existing cluster into the Console, it’s better to create a separate issue so we can track and consider it for future development.

Yes, I will create a dedicated issue to ask for this enhancement.

Thank you for the workaround to populate the database in the UI to import an existing cluster :)