Skip to content

Commit 5560ccb

Browse files
Doug Davisknative-prow-robot
authored andcommitted
Tweaks docs to create Istio CRDs first (#717)
* Tweaks docs to create Istio CRDs first Closes #540 If people are ok with this change I'll make similar modifications to the other instruction files too. Signed-off-by: Doug Davis <[email protected]> * Update Knative-with-IKS.md
1 parent df7c2b5 commit 5560ccb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/Knative-with-IKS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,15 @@ Knative depends on Istio.
137137
138138
1. Install Istio:
139139
```bash
140+
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.2.2/istio-crds.yaml && \
140141
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.2.2/istio.yaml
141142
```
143+
Note: the resources (CRDs) defined in the `istio-crds.yaml`file are
144+
also included in the `istio.yaml` file, but they are pulled out so that
145+
the CRD definitions are created first. If you see an error when creating
146+
resources about an unknown type, run the second `kubectl apply` command
147+
again.
148+
142149
1. Label the default namespace with `istio-injection=enabled`:
143150
```bash
144151
kubectl label namespace default istio-injection=enabled

0 commit comments

Comments
 (0)