From 649f4722198ae7cef792a3331df04a2e56dbcbdb Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Fri, 7 Feb 2020 08:07:14 -0800 Subject: [PATCH] Revert "Reflect the separation of the Channel-based Broker. (#2182)" (#2184) This reverts commit b59a3d97f00de8dc6c627790d44261c6d56ef53a. --- docs/install/knative-with-any-k8s.md | 51 +++++++++++++--------------- 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/docs/install/knative-with-any-k8s.md b/docs/install/knative-with-any-k8s.md index 9082e6145..96f6dd4fe 100644 --- a/docs/install/knative-with-any-k8s.md +++ b/docs/install/knative-with-any-k8s.md @@ -376,38 +376,35 @@ The following command installs an implementation of Channel that runs in-memory. {{< tabs name="eventing_brokers" default="Channel-based" >}} {{% tab name="Channel-based" %}} -The following command installs an implementation of Broker that utilizes Channels: - ```bash - kubectl apply --filename https://github.com/knative/eventing/releases/download/{{< version >}}/channel-broker.yaml - ``` +The core install above includes an implementation of Broker that uses Channels. To customize which channel implementation is used, update the following ConfigMap: - ```yaml - apiVersion: v1 - kind: ConfigMap - metadata: - name: default-ch-webhook - namespace: knative-eventing - data: - default-ch-config: | - # This is the cluster-wide default channel. - clusterDefault: - apiVersion: messaging.knative.dev/v1alpha1 - kind: InMemoryChannel +```yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: default-ch-webhook + namespace: knative-eventing +data: + default-ch-config: | + # This is the cluster-wide default channel. + clusterDefault: + apiVersion: messaging.knative.dev/v1alpha1 + kind: InMemoryChannel - namespaceDefaults: - # This allows you to specify different defaults per-namespace, - # in this case the "some-namespace" namespace will use the Kafka - # channel by default. - some-namespace: - apiVersion: messaging.knative.dev/v1alpha1 - kind: KafkaChannel - spec: - numPartitions: 2 - replicationFactor: 1 - ``` + namespaceDefaults: + # This allows you to specify different defaults per-namespace, + # in this case the "some-namespace" namespace will use the Kafka + # channel by default. + some-namespace: + apiVersion: messaging.knative.dev/v1alpha1 + kind: KafkaChannel + spec: + numPartitions: 2 + replicationFactor: 1 +``` {{< /tab >}}