mirror of https://github.com/istio/istio.io.git
Simplify CRD check step (#5176)
Currently we are asking users to get a count of their CRDs. This is hard because the docs fall out of sync very frequently, they may have CRDs for the operator or something, etc. In generally its really hard to be right here, and it involves the users manually running this command over and over until it works. Instead, we can just wait for the jobs to complete. This has the benefit of working regardless of their environment, and won't fall out of date.
This commit is contained in:
parent
63225a0ceb
commit
7fd714b507
|
|
@ -1,6 +1,5 @@
|
|||
Verify that all `23` Istio CRDs were committed to the Kubernetes api-server using the following command:
|
||||
Wait for all Istio CRDs to be created:
|
||||
|
||||
{{< text bash >}}
|
||||
$ kubectl get crds | grep 'istio.io' | wc -l
|
||||
23
|
||||
$ kubectl -n istio-system wait --for=condition=complete job --all
|
||||
{{< /text >}}
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ deployed and you don't want to install it.
|
|||
|
||||
1. Install all the Istio
|
||||
[Custom Resource Definitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/#customresourcedefinitions)
|
||||
(CRDs) using `kubectl apply`, and wait a few seconds for the CRDs to be committed in the Kubernetes API-server:
|
||||
(CRDs) using `kubectl apply`:
|
||||
|
||||
{{< text bash >}}
|
||||
$ helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system | kubectl apply -f -
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ Cross-cluster communication occurs over Istio gateways of the respective cluster
|
|||
|
||||
* Install all the Istio
|
||||
[Custom Resource Definitions](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/#customresourcedefinitions)
|
||||
(CRDs) using `kubectl apply`, and wait a few seconds for the CRDs to be committed in the Kubernetes API-server:
|
||||
(CRDs) using `kubectl apply`:
|
||||
|
||||
{{< text bash >}}
|
||||
$ helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system | kubectl apply -f -
|
||||
|
|
|
|||
Loading…
Reference in New Issue