From: Huabing Zhao Date: Tue, 31 Jul 2018 02:10:42 +0000 (+0000) Subject: Kubernetes Installation Scripts X-Git-Tag: 0.8.0~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b6b18dacd1553aadaa267f5ea16936e028fc66ca;p=msb%2Fservice-mesh.git Kubernetes Installation Scripts Change-Id: I8c290a6e4f5d50c8b94dc9cd1eb75ca99c4bc3d4 Issue-ID: MSB-221 Signed-off-by: Huabing Zhao --- diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..67a5857 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,12 @@ +Licensed under the Apache License, Version 2.0 (the "License"); you may +not use this file except in compliance with the License. + +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. \ No newline at end of file diff --git a/install/1_install_k8s_master.sh b/install/1_install_k8s_master.sh new file mode 100755 index 0000000..8ad2b12 --- /dev/null +++ b/install/1_install_k8s_master.sh @@ -0,0 +1,82 @@ +#!/bin/sh +# +# Copyright 2018 ZTE, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +echo "************install docker************" +sudo apt-get update +sudo apt-get install -y docker.io + +echo "*************set up kubernetes apt-get source************" +sudo apt-get update && sudo apt-get install -y apt-transport-https +curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - +cat <