Skip to content

Route Rule Configuration

Introduction records route rule config for each product.


Config Item Description
Version String
Time of generating config file
ProductRule Struct
Route rules for each product
ProductRule{k} String
Product name
ProductRule{v} Struct
A ordered list of route rules
ProductRule{v}[].Cond String
Condition expression
ProductRule{v}[].ClusterName String
Destination cluster name


    "Version": "20190101000000",
    "ProductRule": {
        "example_product": [
                "Cond": "req_host_in(\"\")",
                "ClusterName": "cluster_example1"
                "Cond": "default_t()",
                "ClusterName": "cluster_example2"