17 Haziran 2022 Cuma

patronictl komutu - Patroni Replication Monitoring İçindir

Giriş
Açıklaması şöyle
Patroni provide all functionality to setup, monitor and fix the replica DB using reinit command.


Zalando Operator ile kullanılıyor

patronictl komutu

list seçeneği
Örnek
Şöyle yaparız
$ kubectl exec -it rlwy-postgres-1 -n rlwy02-pgo -- /bin/bash
Defaulted container "postgres" out of: postgres, exporter

 ____        _ _
/ ___| _ __ (_) | ___
\___ \| '_ \| | |/ _ \
 ___) | |_) | | | (_) |
|____/| .__/|_|_|\___/
      |_|

This container is managed by runit, when stopping/starting services use sv

Examples:

sv stop cron
sv restart patroni

Current status: (sv status /etc/service/*)

root@rlwy-postgres-1:/home/postgres# patronictl list
2022-06-17 07:10:35,333 - WARNING - Listing members: No cluster names were provided

Hiç yorum yok:

Yorum Gönder