mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
18 lines
711 B
Plaintext
18 lines
711 B
Plaintext
:_content-type: ASSEMBLY
|
|
[id="serverless-apiserversource"]
|
|
= Creating an API server source
|
|
include::_attributes/common-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]
|