domino_admin_toolkit.checks.info.test_autoscaler_scaledown module

domino_admin_toolkit.checks.info.test_autoscaler_scaledown.check_periods_for_failure(periods)
Return type:

bool

domino_admin_toolkit.checks.info.test_autoscaler_scaledown.extract_epochs(values)
Return type:

list[int]

domino_admin_toolkit.checks.info.test_autoscaler_scaledown.extract_periods(epochs)
Return type:

list[dict[str, int]]

domino_admin_toolkit.checks.info.test_autoscaler_scaledown.tabulate_periods(periods)
Return type:

str

domino_admin_toolkit.checks.info.test_autoscaler_scaledown.test_scaledown_in_cooldown()
Description:

Checks if the cluster_autoscaler_scale_down_in_cooldown metric has been > 0 continuously for a 20 minute or longer period of time in the last two weeks.

Result:

If the cluster_autoscaler_scale_down_in_cooldown metric is > 0 for 20 minutes or more in the last week then this check will fail.

domino_admin_toolkit.checks.info.test_autoscaler_scaledown.test_unneeded_nodes()
Description:

Checks if the average number of unneeded nodes in the k8s cluster (as defined by the cluster_autoscaler_unneeded_nodes metric) has been > 20 minutes continuously for 3 or more consecutive days in the last two weeks.

Result:

If the average number of unneeded nodes is > 20 minutes for 3 or more consecutive days in the last two weeks, then this check will fail.