Commit f79094e8 authored by Alejandro Escobar's avatar Alejandro Escobar

added warning message error about not running kubelet if not darwin/linux to my check

parent 9ccade59
...@@ -736,7 +736,7 @@ fi ...@@ -736,7 +736,7 @@ fi
if [[ "${START_MODE}" != "nokubelet" ]]; then if [[ "${START_MODE}" != "nokubelet" ]]; then
## TODO remove this check if/when kubelet is supported on darwin ## 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 case "$(uname -s)" in
Darwin) Darwin)
warning "kubelet is not currently supported in darwin, kubelet aborted." warning "kubelet is not currently supported in darwin, kubelet aborted."
...@@ -746,7 +746,7 @@ if [[ "${START_MODE}" != "nokubelet" ]]; then ...@@ -746,7 +746,7 @@ if [[ "${START_MODE}" != "nokubelet" ]]; then
start_kubelet 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 esac
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment