Fix install CRD steps on various pages (#4680) (#4690)

* Fix install CRD steps on various pages

* Fix ordering to create namespace first

(cherry picked from commit d71d90bed8)
This commit is contained in:
mergify[bot] 2019-07-19 11:54:46 -04:00 committed by Frank Budinsky
parent 32cf2be647
commit 3ca59720cd
3 changed files with 8 additions and 6 deletions

View File

@ -112,9 +112,9 @@ the `default` namespace:
{{< text bash >}}
$ kubectl config use-context "gke_${proj}_${zone}_cluster-1"
$ kubectl apply -f install/kubernetes/helm/istio-init/files/crd/
$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system > $HOME/istio_master.yaml
$ kubectl create ns istio-system
$ helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system | kubectl apply -f -
$ kubectl apply -f $HOME/istio_master.yaml
$ kubectl label namespace default istio-injection=enabled
{{< /text >}}

View File

@ -94,11 +94,13 @@ on **each** Kubernetes cluster.
--from-file=@samples/certs/cert-chain.pem@
{{< /text >}}
* Install Istio's CRDs:
* 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:
{{< text bash >}}
$ kubectl apply -f install/kubernetes/helm/istio-init/files/crd/
{{< /text >}}
{{< text bash >}}
$ helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system | kubectl apply -f -
{{< /text >}}
* {{< boilerplate verify-crds >}}

View File

@ -28,7 +28,7 @@ to Node Agent, which returns the signed certificate to the Istio proxy.
{{< text bash >}}
$ kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user="$(gcloud config get-value core/account)"
$ kubectl create namespace istio-system
$ kubectl apply -f install/kubernetes/helm/istio-init/files/crd/
$ helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system | kubectl apply -f -
$ helm template \
--name=istio \
--namespace=istio-system \