Sentinel provides three publisher as follows:
The logger publisher publishes events to either the standard output or files in the file system.
Each event creates its own file following the naming convention below:
TIMESTAMP_KIND_ACTION_KEY.json
For example:
1559913224157037000_pod_CREATE_default_hello-node-546b66f89f-qhcnk.json
The webhook publisher performs an http post to one or more target endpoints and passes the event in json format via the payload.
The broker publisher publishes the event messages into an Apache Kafka message broker.
The broker has a single topic called k8s and the messages sent are to the broker keyed on platform:namespace combination to ensure that messages from the same namespace are delivered to the message consumer in order.
An example of how to get started with Kafka can be seen here.
The following example shows a configuration where events are published from three Kubernetes clusters into Kafka:
[*] The Sentinel icon was made by Freepik from Flaticon and is licensed by Creative Commons BY 3.0