Speed up hack/local-up-cluster.sh by building hyperkube instead of separate binaries. Also add arm64 as a valid arch

This commit is contained in:
Lucas Käldström
2016-05-15 16:38:11 +03:00
parent 9cf6642531
commit 8e64b5f347
2 changed files with 20 additions and 12 deletions

View File

@@ -138,6 +138,12 @@ kube::util::host_platform() {
amd64*)
host_arch=amd64
;;
aarch64*)
host_arch=arm64
;;
arm64*)
host_arch=arm64
;;
arm*)
host_arch=arm
;;
@@ -151,7 +157,7 @@ kube::util::host_platform() {
host_arch=ppc64le
;;
*)
kube::log::error "Unsupported host arch. Must be x86_64, 386, arm, s390x or ppc64le."
kube::log::error "Unsupported host arch. Must be x86_64, 386, arm, arm64, s390x or ppc64le."
exit 1
;;
esac