From f79094e8a2bdc7f596a365687e16a9e931de1931 Mon Sep 17 00:00:00 2001 From: Alejandro Escobar Date: Thu, 26 Jan 2017 13:11:27 -0800 Subject: [PATCH] added warning message error about not running kubelet if not darwin/linux to my check --- hack/local-up-cluster.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 2528fb7e733..e9cbe0f0a5b 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -736,7 +736,7 @@ fi if [[ "${START_MODE}" != "nokubelet" ]]; then ## TODO remove this check if/when kubelet is supported on darwin - # Detect the OS name/arch so that we can find our binary + # Detect the OS name/arch and display appropriate error. case "$(uname -s)" in Darwin) warning "kubelet is not currently supported in darwin, kubelet aborted." @@ -746,7 +746,7 @@ if [[ "${START_MODE}" != "nokubelet" ]]; then start_kubelet ;; *) - echo "Unsupported host OS. Must be Linux or Mac OS X." >&2 + warning "Unsupported host OS. Must be Linux or Mac OS X, kubelet aborted." ;; esac fi