Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to set Patroni tags (including custom tags) at the host level #611

Merged
merged 5 commits into from
Mar 28, 2024

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Mar 27, 2024

Related issue: #586

Added the ability to add tags for Patroni (including custom tags) at the host level in the inventory file.

Example:

root@pgnode01:/# patronictl -c /etc/patroni/patroni.yml list
+ Cluster: postgres-cluster (7351028658196582445) --+-----------+-----------------+
| Member   | Host        | Role    | State     | TL | Lag in MB | Tags            |
+----------+-------------+---------+-----------+----+-----------+-----------------+
| pgnode01 | 10.172.0.20 | Leader  | running   |  2 |           | datacenter: dc1 |
| pgnode02 | 10.172.0.21 | Replica | streaming |  2 |         0 | datacenter: dc1 |
| pgnode03 | 10.172.0.22 | Replica | streaming |  2 |         0 | datacenter: dc2 |
+----------+-------------+---------+-----------+----+-----------+-----------------+

@vitabaks vitabaks added the enhancement Improvement of the current functionality label Mar 27, 2024
@vitabaks vitabaks self-assigned this Mar 27, 2024
@vitabaks vitabaks added the sponsor's request A request from the project sponsor label Mar 27, 2024
@vitabaks vitabaks changed the title Add the ability to set Patroni tags at the host level Add the ability to set Patroni tags (including custom tags) at the host level Mar 27, 2024
@vitabaks vitabaks merged commit d0d9059 into master Mar 28, 2024
17 checks passed
@vitabaks vitabaks deleted the patroni-tags branch March 28, 2024 07:30
christofalpo pushed a commit to christofalpo/postgresql_cluster that referenced this pull request Apr 22, 2024
…st level (vitabaks#611)

Adding ability to runn flawless on AlmaLinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of the current functionality sponsor's request A request from the project sponsor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant