Skip to content
This repository was archived by the owner on Apr 2, 2023. It is now read-only.

sla-drain monitor time-out flag is missing on help menu #29

Open
lenhattan86 opened this issue Feb 19, 2022 · 0 comments
Open

sla-drain monitor time-out flag is missing on help menu #29

lenhattan86 opened this issue Feb 19, 2022 · 0 comments

Comments

@lenhattan86
Copy link
Collaborator

From the help:

Usage:
  australis start sla-drain [space separated host list or use JSON flags] [flags]

Flags:
      --count int            Instances count that should be running to meet SLA. (default 5)
      --duration RUNNING     Minimum time duration a task needs to be RUNNING to be treated as active. (default 1m0s)
  -h, --help                 help for sla-drain
      --interval duration    Interval at which to poll scheduler. (default 10s)
      --json                 Read JSON list of agents from the STDIN.
      --json-file string     JSON file to read list of agents from.
      --percentage float     Percentage of instances that should be running to meet SLA. (default 80)
      --sla-limit duration   Time limit after which SLA-Aware drain sheds SLA Awareness. (default 1h0m0s)

Global Flags:
  -a, --caCertsPath string      Path where CA certificates can be found.
  -c, --clientCert string       Client certificate to use to connect to Aurora.
  -k, --clientKey string        Client key to use to connect to Aurora.
      --config string           Config file to use. (default "/etc/aurora/australis.yml")
  -l, --logLevel string         Set logging level [panic fatal error warning info debug trace]. (default "info")
  -p, --password string         Password to use for API authentication
  -s, --scheduler_addr string   Aurora Scheduler's address.
  -i, --skipCertVerification    Skip CA certificate hostname verification.
  -t, --timeout duration        Gorealis timeout. (default 20s)
      --toJSON                  Print output in JSON format.
  -u, --username string         Username to use for API authentication
  -z, --zookeeper string        Zookeeper node(s) where Aurora stores information. (comma separated list)

While we have monitor timeout for sla-drain in code:

startSLADrainCmd.Cmd.Flags().DurationVar(&startSLADrainCmd.MonitorTimeout, "timeout", time.Minute*20, "Time after which the monitor will stop polling and throw an error.")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant