diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-09-27 05:36:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 05:36:09 -0700 |
commit | 5afef2e7b29813760aa7b4f42013aebe16d08ec8 (patch) | |
tree | f43c5e71604493724d7a049000faec40c230b4e7 /roles/openshift_logging/tasks | |
parent | 1ab97938845c00119c3e88d58b33ae6cbd8f97fd (diff) | |
parent | 4e30a4243a6c9692c24a574ecfd83c2bcd1e2785 (diff) | |
download | openshift-5afef2e7b29813760aa7b4f42013aebe16d08ec8.tar.gz openshift-5afef2e7b29813760aa7b4f42013aebe16d08ec8.tar.bz2 openshift-5afef2e7b29813760aa7b4f42013aebe16d08ec8.tar.xz openshift-5afef2e7b29813760aa7b4f42013aebe16d08ec8.zip |
Merge pull request #4973 from wozniakjan/logging_eventrouter
Automatic merge from submit-queue
logging: introducing event router
Initial concept integrating kubernetes events to EFK stack using [eventrouter](https://github.com/heptio/eventrouter)
- **eventrouter** is deployed to logging project, has a service account and its own role to read events
- **eventrouter** watches kubernetes events, marshalls them to JSON and outputs to its STDOUT
- **fluentd** picks them up and inserts to elastic search logging project index
Kubernetes events could be easily stored into different index. Among other ways, it could be achieved either by a fluentd filter plugin or custom eventrouter sink.
Pending actions:
- [x] - get our downstream and upstream images for eventrouter, don't use heptio's
cc: @josefkarasek , @jcantrill , @richm
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r-- | roles/openshift_logging/tasks/delete_logging.yaml | 6 | ||||
-rw-r--r-- | roles/openshift_logging/tasks/install_logging.yaml | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/delete_logging.yaml b/roles/openshift_logging/tasks/delete_logging.yaml index 45298e345..3040d15ca 100644 --- a/roles/openshift_logging/tasks/delete_logging.yaml +++ b/roles/openshift_logging/tasks/delete_logging.yaml @@ -105,3 +105,9 @@ - logging-elasticsearch - logging-fluentd - logging-mux + +## EventRouter +- include_role: + name: openshift_logging_eventrouter + when: + not openshift_logging_install_eventrouter | default(false) | bool diff --git a/roles/openshift_logging/tasks/install_logging.yaml b/roles/openshift_logging/tasks/install_logging.yaml index de5e25061..2695ef030 100644 --- a/roles/openshift_logging/tasks/install_logging.yaml +++ b/roles/openshift_logging/tasks/install_logging.yaml @@ -270,4 +270,12 @@ openshift_logging_fluentd_master_url: "{{ openshift_logging_master_url }}" openshift_logging_fluentd_namespace: "{{ openshift_logging_namespace }}" + +## EventRouter +- include_role: + name: openshift_logging_eventrouter + when: + openshift_logging_install_eventrouter | default(false) | bool + + - include: update_master_config.yaml |