glooctl route sort

glooctl route sort

sort routes on an existing virtual service


The order of routes matters. A route is selected for a request based on the first matching route matcher in the virtual serivce’s list. sort automatically sorts the routes in the virtual service

Usage: glooctl route sort [--name virtual-service-name] [--namespace virtual-service-namespace]

glooctl route sort [flags]


  -h, --help                help for sort
  -o, --output OutputType   output format: (yaml, json, table, kube-yaml, wide) (default table)

Options inherited from parent commands

  -i, --interactive        use interactive mode
      --name string        name of the resource to read or write
  -n, --namespace string   namespace for reading or writing resources (default "gloo-system")