diff --git a/cloud/kubernetes/restapi/mode/deploymentstatus.pm b/cloud/kubernetes/restapi/mode/deploymentstatus.pm index 45fa43a48..adb21a846 100644 --- a/cloud/kubernetes/restapi/mode/deploymentstatus.pm +++ b/cloud/kubernetes/restapi/mode/deploymentstatus.pm @@ -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