From f48cdfb9b97c275105503799aba6798260f664cd Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Fri, 7 Aug 2020 11:14:09 +0530 Subject: [PATCH] Add missing ppc64le architecture in the get-kube* scripts --- cluster/get-kube-binaries.sh | 5 ++++- cluster/get-kube.sh | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cluster/get-kube-binaries.sh b/cluster/get-kube-binaries.sh index 47630c615e2..7edba71ad97 100755 --- a/cluster/get-kube-binaries.sh +++ b/cluster/get-kube-binaries.sh @@ -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 ;; diff --git a/cluster/get-kube.sh b/cluster/get-kube.sh index 7e50609a8c1..608e4940815 100755 --- a/cluster/get-kube.sh +++ b/cluster/get-kube.sh @@ -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 ;;