diff options
author | JingLu5 <lvjing5@huawei.com> | 2018-10-11 15:02:57 +0800 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2018-10-11 15:11:11 +0800 |
commit | 64a3e843496d2195417a37090e2f84fe27bc8d20 (patch) | |
tree | e41dde49d00aac45aed5a9f419012d314395bb60 /src | |
parent | 5c35d571efd2aed01e0ab32ad7e7c20c84cdb99e (diff) |
Improve Istio installation
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 <lvjing5@huawei.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/vagrant/kubeadm_istio/istio/deploy.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |