From 8b96021c67538463c1833e566076398f4102145d Mon Sep 17 00:00:00 2001 From: Urvashi Mohnani Date: Mon, 1 Apr 2019 16:33:07 -0400 Subject: [PATCH] Add RUNTIME_REQUEST_TIMEOUT to local-up-cluster.sh The changes to local-cluster-up.sh from #75662 is causing the CRI-O CI to break since it picks up the --runtime-request-timeout flag as part of the container-runtime-endpoint flag. Adding a new env so that we can set the runtime-request-timeout value for our CI. Signed-off-by: Urvashi Mohnani --- hack/local-up-cluster.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 2a1e05e61c0..abbaef53b81 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -227,6 +227,7 @@ LOG_SPEC=${LOG_SPEC:-""} LOG_DIR=${LOG_DIR:-"/tmp"} CONTAINER_RUNTIME=${CONTAINER_RUNTIME:-"docker"} CONTAINER_RUNTIME_ENDPOINT=${CONTAINER_RUNTIME_ENDPOINT:-""} +RUNTIME_REQUEST_TIMEOUT=${RUNTIME_REQUEST_TIMEOUT:-"2m"} IMAGE_SERVICE_ENDPOINT=${IMAGE_SERVICE_ENDPOINT:-""} CHAOS_CHANCE=${CHAOS_CHANCE:-0.0} CPU_CFS_QUOTA=${CPU_CFS_QUOTA:-true} @@ -777,6 +778,7 @@ function start_kubelet { ${net_plugin_args[@]+"${net_plugin_args[@]}"} ${container_runtime_endpoint_args[@]+"${container_runtime_endpoint_args[@]}"} ${image_service_endpoint_args[@]+"${image_service_endpoint_args[@]}"} + "--runtime-request-timeout=${RUNTIME_REQUEST_TIMEOUT}" "--port=${KUBELET_PORT}" ${KUBELET_FLAGS} )