1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/serverless/develop/serverless-apiserversource.adoc
2022-02-10 22:41:41 +00:00

19 lines
762 B
Plaintext

:_content-type: ASSEMBLY
[id="serverless-apiserversource"]
= Creating an API server source
include::modules/common-attributes.adoc[]
include::modules/serverless-document-attributes.adoc[]
:context: serverless-apiserversource
toc::[]
The API server source is an event source that can be used to connect an event sink, such as a Knative service, to the Kubernetes API server. The API server source watches for Kubernetes events and forwards them to the Knative Eventing broker.
// dev console
include::modules/odc-creating-apiserversource.adoc[leveloffset=+1]
// kn commands
include::modules/apiserversource-kn.adoc[leveloffset=+1]
include::modules/specifying-sink-flag-kn.adoc[leveloffset=+2]
// YAML
include::modules/apiserversource-yaml.adoc[leveloffset=+1]