diff options
author | Yapeng Wu <yapengwu@gmail.com> | 2018-01-18 20:10:06 +0000 |
---|---|---|
committer | Yapeng Wu <yapengwu@gmail.com> | 2018-01-19 18:39:06 +0000 |
commit | b5f2330198ba9eb581972f1f394f7cf8c3ed2db8 (patch) | |
tree | 8e61a7f7f6e0427b839e51aae6bfacafccb1a413 /src/vagrant/kubeadm_istio/master_setup.sh | |
parent | 47fd6c397129ed89a2e67349829222c791632d2c (diff) |
Add istio 0.4 installation on top of k8s 1.9
Based on k8s 1.9 (kubeadm_basic) installation, adding
the istio 0.4 installation and simple validation.
Change-Id: Iee2c71974fb2b33df0f9342e0bfd9e96e4dab8f5
Signed-off-by: Yapeng Wu <yapengwu@gmail.com>
Diffstat (limited to 'src/vagrant/kubeadm_istio/master_setup.sh')
-rw-r--r-- | src/vagrant/kubeadm_istio/master_setup.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_istio/master_setup.sh b/src/vagrant/kubeadm_istio/master_setup.sh new file mode 100644 index 0000000..b181582 --- /dev/null +++ b/src/vagrant/kubeadm_istio/master_setup.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -ex + +sudo kubeadm init --apiserver-advertise-address=192.168.1.10 --service-cidr=10.96.0.0/16 --pod-network-cidr=10.32.0.0/12 --token 8c5adc.1cec8dbf339093f0 +mkdir ~/.kube +sudo cp /etc/kubernetes/admin.conf $HOME/.kube/config +sudo chown $(id -u):$(id -g) $HOME/.kube/config + +kubectl apply -f http://git.io/weave-kube-1.6 |