After separately install the CRDs first, it may need a few seconds to wait for Kubernetes to register them.
Change-Id: Ifb66c9688c080a5230b0df9762fb4dd861beaf83
Signed-off-by: JingLu5 <lvjing5@huawei.com>
# Install Istio’s Custom Resource Definitions first
kubectl apply -f install/kubernetes/helm/istio/templates/crds.yaml
+# Wait 30s for Kubernetes to register the Istio CRDs
+sleep 30
+
kubectl apply -f install/kubernetes/istio-demo.yaml
# Validate the installation