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>
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