From 250fb2205e92000c7e8652bd2856b30a15939c00 Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Thu, 3 Mar 2022 11:41:11 -0800 Subject: [PATCH] Automator: update common-files@master in istio/istio.io@master (#11006) --- common/.commonfiles.sha | 2 +- common/scripts/kind_provisioner.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/.commonfiles.sha b/common/.commonfiles.sha index b13a189011..b51cef72b8 100644 --- a/common/.commonfiles.sha +++ b/common/.commonfiles.sha @@ -1 +1 @@ -283abef7ffa106e184f8494d8f17aede9d6d4267 +727cff385e1e21a973dc50430ff87c599025e9fd diff --git a/common/scripts/kind_provisioner.sh b/common/scripts/kind_provisioner.sh index 305571a472..8576087c65 100644 --- a/common/scripts/kind_provisioner.sh +++ b/common/scripts/kind_provisioner.sh @@ -188,12 +188,12 @@ EOF # If metrics server configuration directory is specified then deploy in # the cluster just created if [[ -n ${METRICS_SERVER_CONFIG_DIR} ]]; then - kubectl apply -f "${METRICS_SERVER_CONFIG_DIR}" + retry kubectl apply -f "${METRICS_SERVER_CONFIG_DIR}" fi # Install Metallb if not set to install explicitly if [[ -z "${NOMETALBINSTALL}" ]]; then - install_metallb "" + retry install_metallb "" fi # IPv6 clusters need some CoreDNS changes in order to work in CI: @@ -288,7 +288,7 @@ EOF done # Enable core dumps - docker exec "${CLUSTER_NAME}"-control-plane bash -c "sysctl -w kernel.core_pattern=/var/lib/istio/data/core.proxy && ulimit -c unlimited" + retry docker exec "${CLUSTER_NAME}"-control-plane bash -c "sysctl -w kernel.core_pattern=/var/lib/istio/data/core.proxy && ulimit -c unlimited" } # Now deploy the specified number of KinD clusters and @@ -308,7 +308,7 @@ EOF for CLUSTER_NAME in "${CLUSTER_NAMES[@]}"; do KUBECONFIG_FILE="${KUBECONFIG_DIR}/${CLUSTER_NAME}" if [[ ${NUM_CLUSTERS} -gt 1 ]]; then - install_metallb "${KUBECONFIG_FILE}" + retry install_metallb "${KUBECONFIG_FILE}" fi KUBECONFIGS+=("${KUBECONFIG_FILE}") done