test_autoscaler_errors module

test_autoscaler_errors.get_autoscaler_pod_name()
test_autoscaler_errors.query_prometheus(query)
Return type:

List[Dict[str, Union[str, int]]]

test_autoscaler_errors.test_cluster_autoscaler_total_errors()
Description:

Checks if the cluster_autoscaler_errors_total metric is > 0

Result:

If the cluster_autoscaler_errors_total metric > 0 this check will fail.

test_autoscaler_errors.test_cluster_autoscaler_total_failed_scaleups()
Description:

Checks if the cluster_autoscaler_failed_scale_ups_total metric is > 0

Result:

If the cluster_autoscaler_failed_scale_ups_total metric > 0 this check will fail.