diff options
author | JingLu5 <lvjing5@huawei.com> | 2018-10-16 10:40:02 +0800 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2018-10-16 10:40:02 +0800 |
commit | 886c8e7f8ac29d72d073c72e41f386b09ad69dbf (patch) | |
tree | b792f4693512b8f07e6aab41be30ff5b32dfb9be /src/vagrant/kubeadm_istio | |
parent | 64a3e843496d2195417a37090e2f84fe27bc8d20 (diff) |
Add a time lag for kubernetes to register Istio CRDs
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>
Diffstat (limited to 'src/vagrant/kubeadm_istio')
-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 7620e2b..4217807 100755 --- a/src/vagrant/kubeadm_istio/istio/deploy.sh +++ b/src/vagrant/kubeadm_istio/istio/deploy.sh @@ -38,6 +38,9 @@ source ~/.bashrc # 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 |