Skip to content

Commit 6ce9e71

Browse files
authored
Merge pull request kubernetes#93768 from mkumatag/fix_ppc64le_cluster
Add missing ppc64le architecture in the get-kube* scripts
2 parents 92e51c1 + f48cdfb commit 6ce9e71

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cluster/get-kube-binaries.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,15 @@ function detect_client_info() {
114114
i?86*)
115115
CLIENT_ARCH="386"
116116
;;
117+
ppc64le*)
118+
CLIENT_ARCH="ppc64le"
119+
;;
117120
s390x*)
118121
CLIENT_ARCH="s390x"
119122
;;
120123
*)
121124
echo "Unknown, unsupported architecture (${machine})." >&2
122-
echo "Supported architectures x86_64, i686, arm, arm64, s390x." >&2
125+
echo "Supported architectures x86_64, i686, arm, arm64, ppc64le, s390x." >&2
123126
echo "Bailing out." >&2
124127
exit 3
125128
;;

cluster/get-kube.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
# * amd64 [default]
3737
# * arm
3838
# * arm64
39+
# * ppc64le
3940
#
4041
# Set KUBERNETES_NODE_PLATFORM to choose the platform for which to download
4142
# the node binaries. If none of KUBERNETES_NODE_PLATFORM and
@@ -53,6 +54,7 @@
5354
# * amd64 [default]
5455
# * arm
5556
# * arm64
57+
# * ppc64le
5658
#
5759
# Set KUBERNETES_SKIP_DOWNLOAD to skip downloading a release.
5860
# Set KUBERNETES_SKIP_CONFIRM to skip the installation confirmation prompt.
@@ -164,13 +166,15 @@ case "${machine}" in
164166
;;
165167
aarch64*|arm64*)
166168
;;
169+
ppc64le*)
170+
;;
167171
arm*)
168172
;;
169173
i?86*)
170174
;;
171175
*)
172176
echo "Unknown, unsupported architecture (${machine})." >&2
173-
echo "Supported architectures x86_64, i686, arm, arm64." >&2
177+
echo "Supported architectures x86_64, i686, arm, arm64, ppc64le." >&2
174178
echo "Bailing out." >&2
175179
exit 3
176180
;;

0 commit comments

Comments
 (0)