Add missing ppc64le architecture in the get-kube* scripts

This commit is contained in:
Manjunath A Kumatagi 2020-08-07 11:14:09 +05:30
parent 92e51c1901
commit f48cdfb9b9
2 changed files with 9 additions and 2 deletions

View File

@ -114,12 +114,15 @@ function detect_client_info() {
i?86*)
CLIENT_ARCH="386"
;;
ppc64le*)
CLIENT_ARCH="ppc64le"
;;
s390x*)
CLIENT_ARCH="s390x"
;;
*)
echo "Unknown, unsupported architecture (${machine})." >&2
echo "Supported architectures x86_64, i686, arm, arm64, s390x." >&2
echo "Supported architectures x86_64, i686, arm, arm64, ppc64le, s390x." >&2
echo "Bailing out." >&2
exit 3
;;

View File

@ -36,6 +36,7 @@
# * amd64 [default]
# * arm
# * arm64
# * ppc64le
#
# Set KUBERNETES_NODE_PLATFORM to choose the platform for which to download
# the node binaries. If none of KUBERNETES_NODE_PLATFORM and
@ -53,6 +54,7 @@
# * amd64 [default]
# * arm
# * arm64
# * ppc64le
#
# Set KUBERNETES_SKIP_DOWNLOAD to skip downloading a release.
# Set KUBERNETES_SKIP_CONFIRM to skip the installation confirmation prompt.
@ -164,13 +166,15 @@ case "${machine}" in
;;
aarch64*|arm64*)
;;
ppc64le*)
;;
arm*)
;;
i?86*)
;;
*)
echo "Unknown, unsupported architecture (${machine})." >&2
echo "Supported architectures x86_64, i686, arm, arm64." >&2
echo "Supported architectures x86_64, i686, arm, arm64, ppc64le." >&2
echo "Bailing out." >&2
exit 3
;;