Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a support for system-z architecture by adding system-z host #16662

Merged
merged 1 commit into from
Dec 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion cluster/get-kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ elif [[ "${machine}" == "i686" ]]; then
arch="386"
elif [[ "${machine}" == "arm*" ]]; then
arch="arm"
elif [[ "${machine}" == "s390x*" ]]; then
arch="s390x"
else
echo "Unknown, unsupported architecture (${machine})."
echo "Supported architectures x86_64, i686, arm*"
echo "Supported architectures x86_64, i686, arm, s390x."
echo "Bailing out."
exit 3
fi
Expand Down
5 changes: 4 additions & 1 deletion cluster/kubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ case "$(uname -m)" in
i?86*)
host_arch=386
;;
s390x*)
host_arch=s390x
;;
*)
echo "Unsupported host arch. Must be x86_64, 386 or arm." >&2
echo "Unsupported host arch. Must be x86_64, 386, arm or s390x." >&2
exit 1
;;
esac
Expand Down
7 changes: 5 additions & 2 deletions hack/lib/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ kube::util::host_platform() {
i?86*)
host_arch=x86
;;
*)
kube::log::error "Unsupported host arch. Must be x86_64, 386 or arm."
s390x*)
host_arch=s390x
;;
*)
kube::log::error "Unsupported host arch. Must be x86_64, 386, arm or s390x."
exit 1
;;
esac
Expand Down
5 changes: 4 additions & 1 deletion hack/local-up-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,11 @@ function detect_binary {
i?86*)
host_arch=x86
;;
s390x*)
host_arch=s390x
;;
*)
echo "Unsupported host arch. Must be x86_64, 386 or arm." >&2
echo "Unsupported host arch. Must be x86_64, 386, arm or s390x." >&2
exit 1
;;
esac
Expand Down