Eric Wolinetz ae80221128 Updating logging eventrouter image name to match ose naming pattern 6 年之前
..
defaults ae80221128 Updating logging eventrouter image name to match ose naming pattern 6 年之前
files 6ed64e658c Removing var openshift_logging_es5_techpreview and multi-version structures in logging roles 6 年之前
meta a310ad8600 Refactor logging image strings 6 年之前
tasks 6ed64e658c Removing var openshift_logging_es5_techpreview and multi-version structures in logging roles 6 年之前
templates 10322c283f Fix cpu_limit check in eventrouter template 6 年之前
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'.