Skip to content
Snippets Groups Projects
Select Git revision
  • 13-4-stable protected
  • 13-3-stable protected
  • 5509-default-fresh-installs-to-pg12
  • 4160-better-wait-for-postgres-routine
  • patch-10
  • master default protected
  • pg-cert-update-docs
  • 5725-pgbouncer-should-support-multiple-authentication-options
  • rs-ci-sections
  • ignore-js-cache-dirs
  • 5728-qa-tests-failing-after-group-was-explicitly-set-for-repositories_storages
  • add-img-resizing-configs
  • deps/5a89a91-3b3d888
  • allow-setting-gitaly-git-bin-path
  • rename-piwik-to-matomo
  • docs-update-redirects-omnibus
  • 5665-allow-non-default-pg-port
  • ashmckenzie/gitlab-shell-ssl-cert-dir-support
  • eread/use-latest-docs-linting-image
  • if-forti_authenticator
  • 17.6.4+ee.0 protected
  • 17.6.4+ce.0 protected
  • 17.7.3+ee.0 protected
  • 17.7.3+ce.0 protected
  • 17.8.1+ee.0 protected
  • 17.8.1+ce.0 protected
  • 17.8.0+ee.0 protected
  • 17.8.0+ce.0 protected
  • 17.7.2+ee.0 protected
  • 17.7.2+ce.0 protected
  • 17.8.0+rc42.ee.0 protected
  • 17.8.0+rc42.ce.0 protected
  • 17.5.5+ee.0 protected
  • 17.5.5+ce.0 protected
  • 17.6.3+ee.0 protected
  • 17.6.3+ce.0 protected
  • 17.7.1+ee.0 protected
  • 17.7.1+ce.0 protected
  • 17.7.0+ee.0 protected
  • 17.7.0+ce.0 protected
40 results

5466-get-postgresql-primary-cmd.yml

  • Hossein Pursultani's avatar
    9f63ff29
    Add get-postgresql-primary command to gitlab-ctl · 9f63ff29
    Hossein Pursultani authored
    `get-postgresql-primary` command prints out the connection information
    (IP address and port) of primary PostgreSQL node. This is useful to
    identify the primary node in a clustered deployment, for example with
    repmgr or Patroni.
    
    This command requires a Consul agent on the same node that it is
    running. It uses Consul DNS interface to lookup the SRV record for
    PostgreSQL service.
    9f63ff29
    History
    Add get-postgresql-primary command to gitlab-ctl
    Hossein Pursultani authored
    `get-postgresql-primary` command prints out the connection information
    (IP address and port) of primary PostgreSQL node. This is useful to
    identify the primary node in a clustered deployment, for example with
    repmgr or Patroni.
    
    This command requires a Consul agent on the same node that it is
    running. It uses Consul DNS interface to lookup the SRV record for
    PostgreSQL service.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.