fix kubernetes deployment status help
This commit is contained in:
parent
871d60e2ec
commit
83db915838
|
@ -166,9 +166,13 @@ Check deployment status.
|
|||
|
||||
=over 8
|
||||
|
||||
=item B<--deployment>
|
||||
=item B<--filter-name>
|
||||
|
||||
Filter on a specific deployment (Must be a PromQL filter, Default: 'deployment=~".*"')
|
||||
Filter deployment name (can be a regexp).
|
||||
|
||||
=item B<--filter-namespace>
|
||||
|
||||
Filter deployment namespace (can be a regexp).
|
||||
|
||||
=item B<--warning-status>
|
||||
|
||||
|
@ -182,26 +186,6 @@ Set critical threshold for status (Default: '%{available} < %{desired}').
|
|||
Can used special variables like: %{display}, %{desired}, %{current},
|
||||
%{available}, %{unavailable}, %{up_to_date}
|
||||
|
||||
=item B<--extra-filter>
|
||||
|
||||
Add a PromQL filter (Can be multiple)
|
||||
|
||||
Example : --extra-filter='name=~".*pretty.*"'
|
||||
|
||||
=item B<--metric-overload>
|
||||
|
||||
Overload default metrics name (Can be multiple)
|
||||
|
||||
Example : --metric-overload='metric,^my_metric_name$'
|
||||
|
||||
Default :
|
||||
|
||||
- desired: ^kube_deployment_spec_replicas$
|
||||
- current: ^kube_deployment_status_replicas$
|
||||
- available: ^kube_deployment_status_replicas_available$
|
||||
- unavailable: ^kube_deployment_status_replicas_unavailable$
|
||||
- up_to_date: ^kube_deployment_status_replicas_updated$
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
|
Loading…
Reference in New Issue