summaryrefslogtreecommitdiffstats
path: root/quickstart_k8s.sh
diff options
context:
space:
mode:
authorYibo Cai <yibo.cai@arm.com>2018-09-03 12:55:39 +0800
committerYibo Cai <yibo.cai@arm.com>2018-09-12 07:37:38 +0000
commit88011d78be48349bf3d3bbea6c8166834b324bca (patch)
treebeef4fe270c8f032916416ab7df4f4f1276a9d34 /quickstart_k8s.sh
parentbba599d878dfffe96c2ef2ae96d23dc47627b656 (diff)
update quickstart_k8s.sh to support arm64
Change-Id: Ibb4839c34f86f701c2938fafd32b2669b06235aa Signed-off-by: Yibo Cai <yibo.cai@arm.com>
Diffstat (limited to 'quickstart_k8s.sh')
-rwxr-xr-xquickstart_k8s.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/quickstart_k8s.sh b/quickstart_k8s.sh
index 2745cdb9..49a8432c 100755
--- a/quickstart_k8s.sh
+++ b/quickstart_k8s.sh
@@ -7,6 +7,15 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+
+COMPASS_ARCH=$(uname -m)
+if [ "$COMPASS_ARCH" = "aarch64" ]; then
+ echo "Running on aarch64 host, make sure your jump host is configured okay"
+ echo "Please reference docs/release/installation/k8s-deploy-arm.rst"
+ export ADAPTER_OS_PATTERN='(?i)CentOS-7.*arm.*'
+ SCENARIO=${SCENARIO:-k8-nosdn-nofeature-noha.yml}
+fi
+
sudo apt-get update
sudo apt-get install -y git