You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -6,9 +10,7 @@ You can create a channel with the cluster default configuration by using the `kn
6
10
7
11
.Prerequisites
8
12
9
-
To create channels using the `kn` CLI, ensure that:
10
-
11
-
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
13
+
* The {ServerlessOperatorName} and Knative Eventing are installed on the cluster.
12
14
* You have installed the `kn` CLI.
13
15
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
= Creating a channel using the Developer perspective
7
+
= Creating a channel by using the web console
8
8
9
-
You can create a channel with the cluster default configuration by using the {product-title} web console.
9
+
You can create a channel by using the {product-title} web console.
10
10
11
11
.Prerequisites
12
-
To create channels using the *Developer* perspective ensure that:
13
12
13
+
* You have logged in to the {product-title} web console.
14
14
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
15
-
* You have logged in to the web console.
16
15
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
17
16
18
17
.Procedure
19
18
20
19
. In the *Developer* perspective, navigate to *+Add*->*Channel*.
21
20
. Select the type of `Channel` object that you want to create from the *Type* drop-down.
22
-
+
23
-
[NOTE]
24
-
====
25
-
Currently only InMemoryChannel type `Channel` objects are supported.
= Creating a default implementation channel by using YAML
8
8
9
-
You can create a channel by using YAML with the cluster default configuration.
9
+
You can create a channel with the cluster default configuration by using YAML.
10
10
11
11
.Prerequisites
12
12
13
-
* {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
13
+
* The {ServerlessOperatorName} and Knative Eventing are installed on the cluster.
14
+
* You have installed the `oc` CLI.
14
15
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
15
16
16
17
.Procedure
17
18
18
-
To create a `Channel` object:
19
-
20
-
. Create a YAML file and copy the following sample code into it:
Copy file name to clipboardExpand all lines: modules/serverless-create-kafka-channel-yaml.adoc
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ You can create a Kafka channel by using YAML to create the `KafkaChannel` object
12
12
.Prerequisites
13
13
14
14
* The {ServerlessOperatorName}, Knative Eventing, and the `KnativeKafka` custom resource are installed on your {product-title} cluster.
15
+
* You have installed the `oc` CLI.
15
16
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
= Creating a subscription by using the Knative CLI
4
8
5
9
You can create a subscription to connect a channel to a sink by using the `kn` CLI.
6
10
7
11
.Prerequisites
8
12
9
-
To create subscriptions using the `kn` CLI, ensure that:
10
-
11
13
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
12
14
* You have installed the `kn` CLI.
13
15
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
@@ -57,3 +59,12 @@ $ kn subscription list
57
59
NAME CHANNEL SUBSCRIBER REPLY DEAD LETTER SINK READY REASON
= Creating subscriptions in the Developer perspective
7
+
= Creating a subscription by using the web console
8
+
9
+
You can create a subscription to connect a channel to a sink by using the {product-title} web console.
8
10
9
11
.Prerequisites
10
-
To create subscriptions using the *Developer* perspective, ensure that:
11
12
12
13
* The {ServerlessOperatorName}, Knative Serving, and Knative Eventing are installed on your {product-title} cluster.
13
14
* You have logged in to the web console.
14
-
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
15
15
* You have created an event sink, such as a Knative service, and a channel.
16
+
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
16
17
17
18
.Procedure
19
+
18
20
. In the *Developer* perspective, navigate to the *Topology* page.
21
+
19
22
. Create a subscription using one of the following methods:
23
+
20
24
.. Hover over the channel that you want to create a subscription for, and drag the arrow. The *Add Subscription* option is displayed.
21
25
+
22
26
image::create-sub-ODC.png[Create a subscription for the channel]
@@ -25,10 +29,8 @@ image::create-sub-ODC.png[Create a subscription for the channel]
25
29
... Click *Add*.
26
30
.. If the service is available in the *Topology* view under the same namespace or project as the channel, click on the channel that you want to create a subscription for, and drag the arrow directly to a service to immediately create a subscription from the channel to that service.
27
31
28
-
29
32
.Verification
33
+
30
34
* After the subscription has been created, you can see it represented as a line that connects the channel to the service in the *Topology* view:
31
35
+
32
36
image::verify-subscription-odc.png[Subscription in the Topology view]
33
-
+
34
-
You can view the event source, channel, and subscriptions for the sink by clicking on the service.
You can create a subscription to connect a channel to a sink by using YAML.
10
10
11
+
.Prerequisites
12
+
13
+
* The {ServerlessOperatorName} and Knative Eventing are installed on the cluster.
14
+
* You have installed the `oc` CLI.
15
+
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
16
+
11
17
.Procedure
12
18
13
-
* Create a `Subscription` object.
19
+
* Create a `Subscription` object:
14
20
** Create a YAML file and copy the following sample code into it:
0 commit comments