Tyk v2.2 Documentation Components

HomeTyk v2.2 Documentation ComponentsConfigure a gateway as a shard

Configure a gateway as a shard

Setting up a gateway to be a shard, or a zone, is very easy. All you do is tell the node in the tyk.conf file what tags to respect and that it is in fact segmented:

"db_app_conf_options": {
        "node_is_segmented": true,
        "tags": ["qa", "uat"]

Tags are always treated as OR conditions, so this node will pick up all APIs that are marked as “qa” or “uat”.

Was this article helpful to you? Yes No