1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/serverless-create-inmemorychannel.adoc
2020-09-30 19:09:02 +00:00

32 lines
633 B
Plaintext

// Module included in the following assemblies:
//
// * serverless/event_workflows/serverless-channels.adoc
[id="serverless-create-inmemorychannel_{context}"]
= Creating a development channel
.Procedure
You can create a channel using the cluster default configuration by completing the following procedure.
. Create a `Channel` object.
.. Create a YAML file and copy the following sample code into it:
+
[source,yaml]
----
apiVersion: messaging.knative.dev/v1
kind: Channel
metadata:
name: example-channel
namespace: default
----
.. Apply the YAML file by entering:
+
[source,terminal]
----
$ oc apply -f <filename>
----