Scott Dodson 1a656ce0b2 Add OWNERS files 7 gadi atpakaļ
..
defaults 6575595891 Updating logging components image defaulting pattern to match openshift_logging pattern 7 gadi atpakaļ
files d5879135f0 Adding support for ES 5.x tech preview opt in 7 gadi atpakaļ
meta 801779eeb6 Relocate filter plugins to lib_utils 7 gadi atpakaļ
tasks ddf1aa2f1a Switch the master to always run with bootstrapping on 7 gadi atpakaļ
templates 3f2eb74208 Adding missing template 7 gadi atpakaļ
vars 54dccb5529 Updating default image tags to be only vX.Y for origin installs 7 gadi atpakaļ
OWNERS 1a656ce0b2 Add OWNERS files 7 gadi atpakaļ
README.md 578ac5b348 Use "requests" for CPU resources instead of limits 7 gadi atpakaļ

README.md

Event router

A pod forwarding kubernetes events to EFK aggregated logging stack.

  • eventrouter is deployed to default project, has a service account and its own role to read events
  • eventrouter watches kubernetes events, marshalls them to JSON and outputs to its sink, currently only various formatting to STDOUT
  • fluentd ingests as logs from eventrouter container (as it would any other container), and writes them to the appropriate index for the eventrouter's namespace (in the 'default' namespace, the .operations index is used)

  • openshift_logging_install_eventrouter: When 'True', eventrouter will be installed. When 'False', eventrouter will be uninstalled.

Configuration variables:

  • openshift_logging_eventrouter_image_prefix: The prefix for the eventrouter logging image. Defaults to openshift_logging_image_prefix.
  • openshift_logging_eventrouter_image_version: The image version for the logging eventrouter. Defaults to 'latest'.
  • openshift_logging_eventrouter_sink: Select a sink for eventrouter, supported 'stdout' and 'glog'. Defaults to 'stdout'.
  • openshift_logging_eventrouter_nodeselector: A map of labels (e.g. {"node":"infra","region":"west"} to select the nodes where the pod will land.
  • openshift_logging_eventrouter_cpu_request: The minimum amount of CPU to allocate to eventrouter. Defaults to '100m'.
  • openshift_logging_eventrouter_memory_limit: The memory limit for eventrouter pods. Defaults to '128Mi'.
  • openshift_logging_eventrouter_namespace: The namespace where eventrouter is deployed. Defaults to 'default'.