Skip to content

cli tool adjusting the weight of weighted round robin Traefik http services

License

Notifications You must be signed in to change notification settings

bonsai-oss/traefik-weight-control

Repository files navigation

traefik-weight-control

A cli tool adjusting and listing the weight of weighted round robin Traefik services.

Usage

usage: aectl --file=FILE [<flags>] <command> [<args> ...]

Traefik Weight Control

Flags:
  -h, --help       Show context-sensitive help (also try --help-long and --help-man).
      --version    Show application version.
  -v, --verbose    Enable debug mode
  -f, --file=FILE  Path to the Traefik configuration file

Commands:
  help [<command>...]
    Show help.


  list [<flags>]
    List all services and servers

    -o, --format=text  Output format

  set --server=SERVER --weight=WEIGHT [<flags>]
    Set the weight of a server

    -d, --dry-run          Dry run
    -g, --global           Set the weight for all services
    -s, --service=SERVICE  Service name
    -n, --server=SERVER    Server name
    -w, --weight=WEIGHT    Server weight