1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/serverless/develop/serverless-apiserversource.adoc
2022-02-25 16:48:31 -05:00

19 lines
770 B
Plaintext

:_content-type: ASSEMBLY
[id="serverless-apiserversource"]
= Creating an API server source
include::_attributes/common-attributes.adoc[]
include::_attributes/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]