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

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