stratumctl advisor
Resources that cannot do their job (findings) and the checks that find them
stratumctl advisor [flags]Subcommands
Section titled “Subcommands”stratumctl advisor checks: List the advisor’s checks: what each looks for, why it matters, the fixstratumctl advisor findings: List a project’s advisor findings (open by default)
stratumctl advisor checks
Section titled “stratumctl advisor checks”List the advisor’s checks: what each looks for, why it matters, the fix
stratumctl advisor checks [flags]Examples
Section titled “Examples”stratumctl advisor checksstratumctl advisor checks --output jsonstratumctl advisor findings
Section titled “stratumctl advisor findings”List a project’s advisor findings (open by default)
stratumctl advisor findings [flags]Lists the project’s findings: resources that exist but cannot do their job, such as a load balancer with no listeners or a listener forwarding to a target group that does not exist. A finding is open while its condition holds and is resolved on the first advisor pass (every 5 minutes) after it stops. ‘stratumctl advisor checks’ explains each check and its fix.
Examples
Section titled “Examples”stratumctl advisor findingsstratumctl advisor findings --service lb --severity highstratumctl advisor findings --state all --output json| Flag | Type | Default | Description |
|---|---|---|---|
--limit |
int | 0 |
Page size (server default 100, max 1000); setting it (or –page-token) returns one page |
--page-token |
string | Cursor from a previous page; returns that one page | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--resource-type |
string | Only this kind of resource (e.g. listener) | |
--service |
string | Only this service’s checks (e.g. lb) | |
--severity |
string | low, medium or high | |
--state |
string | open (default), resolved or all |
