Michael Gugino a310ad8600 Refactor logging image strings il y a 7 ans
..
defaults a310ad8600 Refactor logging image strings il y a 7 ans
files d5879135f0 Adding support for ES 5.x tech preview opt in il y a 7 ans
meta a310ad8600 Refactor logging image strings il y a 7 ans
tasks a310ad8600 Refactor logging image strings il y a 7 ans
templates 3f2eb74208 Adding missing template il y a 7 ans
vars a310ad8600 Refactor logging image strings il y a 7 ans
OWNERS 1a656ce0b2 Add OWNERS files il y a 7 ans
README.md a310ad8600 Refactor logging image strings il y a 7 ans

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_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'.