File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,8 +9,11 @@ e2e_test_install() {
99
1010 install_metric_server
1111 install_keda
12- install_vertical_pod_autoscaler \
13- --set-string updater.extraArgs.in-recommendation-bounds-eviction-lifetime-threshold=2s
12+ if [ " $E2E_DISABLE_VPA " != true ]
13+ then
14+ install_vertical_pod_autoscaler \
15+ --set-string updater.extraArgs.in-recommendation-bounds-eviction-lifetime-threshold=2s
16+ fi
1417
1518 kubectl create namespace " $CLUSTER_NAMESPACE "
1619 create_or_replace_cluster " $CLUSTER_NAME " " $CLUSTER_NAMESPACE " 2 \
@@ -58,7 +61,12 @@ e2e_test() {
5861
5962 run_test " Checking that autoscaling can be used to scale horizontally" check_horizontal_autoscaling
6063
61- run_test " Checking that autoscaling can be user to scale vertically" check_vertical_autoscaling
64+ if [ " $E2E_DISABLE_VPA " != true ]
65+ then
66+ run_test " Checking that autoscaling can be user to scale vertically" check_vertical_autoscaling
67+ else
68+ echo " Skipping vertical autoscaling since it has been disabled"
69+ fi
6270
6371 # run_test "Checking that autoscaling can be user to scale horizontally and vertically" check_all_autoscaling
6472}
You can’t perform that action at this time.
0 commit comments