Skip to content

Geo: CNG: Add geo_log_cursor

Summary

From #8 (closed)

We need to create a container/deployment that configures and runs /srv/gitlab/bin/geo_log_cursor /srv/gitlab/ee/bin/geo_log_cursor (see https://gitlab.com/gitlab-org/gitlab-ee/issues/10806, https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10821).

Needs of this container:

  • A PostgreSQL DB gitlabhq_geo_production, that is only for this node/cluster. Ensure TLS support.
  • global.geo.psql.* settings, similar to that of global.psql.*
  • Does need access to global.psql.* PostgreSQL database. (@brodock please confirm @WarheadsSE confirmed)
  • Redis of this cluster for communicating with Sidekiq

Configuration required

database_geo.yml

production:
  adapter: postgresql
  encoding: unicode
  database: gitlabhq_geo_production
  pool: 10
  username: git
  password: "secure password"
  host: localhost
  fdw: true

database.yml (per standard, using read-only secondary)

resque.yml (per standard)

gitlab.yml (?)

Edited by Jason Plum