You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Maps/v2/Common tasks

From Wikitech-static
< Maps‎ | v2
Revision as of 13:03, 27 September 2021 by imported>Jgiannelos (→‎Get a DB shell)
Jump to navigation Jump to search

Common maps tasks

Access map nodes

ssh maps1009.eqiad.wmnet

Deploy new code

Kartotherian

Tegola

Configuration changes

Tegola

The tegola config is maintained using helm in the deployment charts repo and populated by the helm values per env:

Kartotherian

Postgres

Imposm

EventGate

Run a planet import

Pooling/depooling nodes

Get a DB shell

> ssh maps1005.eqiad.wmnet

> sudo su

> su - postgres

> psql

postgres=# \c gis

Run an example query

Reindex DB

Example HTTP requests

Kartotherian

Tegola

EventGate

Example tegola commands