Skip to content

Commit 0af9fdf

Browse files
committed
docs: add missing description for warning/critical threshold flags
1 parent 0eef4f5 commit 0af9fdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The following examples were produced from a brand-new Kubernetes cluster created
6565

6666
Apart from the flags defined by the [`genericclioptions`](https://pkg.go.dev/k8s.io/cli-runtime/pkg/genericclioptions) package and some [logging flags](https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components), the following options are available with the plugin:
6767
- `--all-namespaces`, `-A`: List `VerticalPodAutoscaler` resources in all namespaces
68+
- `--critical-threshold`: Critical threshold of percentage difference for colored output. Default to `50`
6869
- `--namespace`, `-n`: If present, the namespace scope for the request
6970
- `--no-colors`: Do not use colors to highlight increase/decrease percentage values
7071
- `--no-headers`: Do not print table headers
@@ -76,6 +77,7 @@ Apart from the flags defined by the [`genericclioptions`](https://pkg.go.dev/k8s
7677
- `--show-namespace`: Show resource namespace as the first column
7778
- `--sort-columns`: Comma-separated list of column names for sorting the table. Any of: `cpu-diff` | `cpu-rec` | `cpu-req` | `mem-diff` | `mem-rec` | `mem-req` | `name` | `namespace` | `target`. Default to `namespace,name`
7879
- `--sort-order`: The sort order of the table columns. Either `asc` or `desc`. Default to `asc`
80+
- `--warning-threshold`: Warning threshold of percentage difference for colored output. Default to `20`
7981

8082
To view the full list of available options, use the following command:
8183

0 commit comments

Comments
 (0)