File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 634634# "cmd": "string",
635635# "service": "string",
636636# "src": "string",
637- # "dest ": "string",
637+ # "dst ": "string",
638638# "weight": float,
639639# "tags": ["string"],
640640# "opts": {"string":"string"}
641641# }
642642# ]
643+ # Short description of the fields required for a custom backend
644+ #
645+ # - cmd - the command to add, remove or change weight of a route. For example `route add` to add a new route mapping.
646+ # - service - the name that the service will show up in the UI.
647+ # - src - usually the prefix that will be used in the routing table.
648+ # - dst - the endpoint that will be used as the destination of the routing table.
649+ # - weight - defines the weight of this path to perform routing. For example route A 90% and route B 10% for canary deployments.
650+ # - tags - a list of tags, provide a way to filter routes, making it easier to do operations like bulk deletes `route del tags "dev"`.
651+ # - opts - a KV map of the config language list of options. for example `proto` or `prefix`
643652#
644653# The default is
645654#
You can’t perform that action at this time.
0 commit comments