@@ -32,77 +32,13 @@ To complete this guide, you will need the following installed and running:
3232
3333- Knative Eventing component.
3434
35- - Knative Eventing in-memory channel.
36-
3735** Important Note:** Some Knative Eventing features do not work when using
3836Minikube due to [ this] ( https://github.com/kubernetes/minikube/issues/1568 ) bug.
3937For local testing you can use [ kind] ( https://github.com/kubernetes-sigs/kind ) .
4038
4139### Installing Knative Eventing
4240
43- If you previously [ created a Knative cluster] ( ../install ) , you might already
44- have Knative Eventing installed and running. You can check to see if the
45- Eventing component exists on your cluster by running:
46-
47- ``` sh
48- kubectl get pods --namespace knative-eventing
49- ```
50-
51- If the ` knative-eventing ` namespace or the ` imc-controller-* ` does not exist,
52- use the following steps to install Knative Eventing with the in-memory channel:
53-
54- 1 . Make sure that you have a functioning Kubernetes cluster. See the
55- [ Comprehensive Install guide] ( ../install ) for more information.
56-
57- - Old versions of Knative Serving doesn't necessarily work well with latest
58- Knative Eventing, so try to install the latest version of Knative Serving.
59-
60- - If your Kubernetes cluster comes with pre-installed Istio, make sure it has
61- ` cluster-local-gateway `
62- [ deployed] ( https://github.com/knative/serving/blob/master/DEVELOPMENT.md#deploy-istio ) .
63- Depending on which Istio version you have, you'd need to apply the
64- ` istio-knative-extras.yaml ` in the corresponding version folder at
65- [ here] (https://github.com/knative/serving/tree/{{ < branch >}}/third_party).
66-
67- 1 . Install the Eventing CRDs by running the following command:
68-
69- ``` sh
70- kubectl apply --selector knative.dev/crd-install=true \
71- --filename {{< artifact repo=" eventing" file=" eventing.yaml" > }}
72- ```
73-
74- 1 . Finish installing Eventing resources by running the following command:
75-
76- ``` sh
77- kubectl apply --filename {{< artifact repo=" eventing" file=" eventing.yaml" > }}
78- ```
79-
80- Installing the CRDs first can prevent race conditions, which might cause
81- failures during the install. Race conditions exist during install because a
82- CRD must be defined before an instance of that resource can be created.
83- Defining all CRDs before continuing with the rest of the installation
84- prevents this problem.
85-
86- 1 . Confirm that Knative Eventing is correctly installed by running the following
87- command:
88-
89- ``` sh
90- kubectl get pods --namespace knative-eventing
91- ```
92-
93- This will return the following result:
94-
95- ``` sh
96- NAME READY STATUS RESTARTS AGE
97- broker-controller-56b4d58667-fm979 1/1 Running 0 4m36s
98- broker-filter-5bdbc8d8dd-kpswx 1/1 Running 0 4m35s
99- broker-ingress-d896b6b46-4nbtr 1/1 Running 0 4m35s
100- eventing-controller-5fc5645584-qvspl 1/1 Running 0 4m36s
101- eventing-webhook-7674b867dc-zw9qh 1/1 Running 0 4m36s
102- imc-controller-6b548d6468-gnbkn 1/1 Running 0 4m35s
103- imc-dispatcher-655cdf6ff6-mkc29 1/1 Running 0 4m35s
104- mt-broker-controller-6d66c4c6f6-xdn7b 1/1 Running 0 4m35s
105- ```
41+ Install the [ Knative Eventing] ( https://knative.dev/development/install/any-kubernetes-cluster/#installing-the-eventing-component ) .
10642
10743## Setting up Knative Eventing Resources
10844
0 commit comments