Skip to content

Traffic shaping does not match on service name #15

@magiconair

Description

@magiconair

The route weight command accepts a service name but does not use it when assigning weights to the targets. The current implementation matches on tags only.

The matching should happen as follows:

# assign weight w to src on service svc
route weight svc src weight w

# assign weight w to src on services with tags t1 and t2
route weight src weight w tags "t1,t2"

# assign weight w to src on service svc with tags t1 and t2
route weight svc src weight w tags "t1,t2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions