From 64a3e843496d2195417a37090e2f84fe27bc8d20 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Thu, 11 Oct 2018 15:02:57 +0800 Subject: Improve Istio installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Istio 1.0, there is an independent Istio’s Custom Resource Definitions manifest. It is recommended to install Istio's CRD first before invoking the istio-demo.yaml to avoid error like: unable to recognize "install/kubernetes/istio-demo.yaml": no matches for config.istio.io/, Kind=attributemanifest unable to recognize "install/kubernetes/istio-demo.yaml": no matches for config.istio.io/, Kind=attributemanifest in https://build.opnfv.org/ci/view/clover/job/clover-daily-deploy-master/210/consoleFull Change-Id: I9c26458d713ea1e01cb5976e4203843569ba7db2 Signed-off-by: JingLu5 --- src/vagrant/kubeadm_istio/istio/deploy.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vagrant/kubeadm_istio/istio/deploy.sh') diff --git a/src/vagrant/kubeadm_istio/istio/deploy.sh b/src/vagrant/kubeadm_istio/istio/deploy.sh index 84af41b..7620e2b 100755 --- a/src/vagrant/kubeadm_istio/istio/deploy.sh +++ b/src/vagrant/kubeadm_istio/istio/deploy.sh @@ -35,6 +35,9 @@ echo 'export PATH="$PATH:/vagrant/istio-source/bin"' >> ~/.bashrc echo "source <(kubectl completion bash)" >> ~/.bashrc source ~/.bashrc +# Install Istio’s Custom Resource Definitions first +kubectl apply -f install/kubernetes/helm/istio/templates/crds.yaml + kubectl apply -f install/kubernetes/istio-demo.yaml # Validate the installation -- cgit 1.2.3-korg