Skip to content

Quick tutorial to get EFK up and running in Openshift 3.xx

Notifications You must be signed in to change notification settings

cesarvr/EFK-Stack-OSE3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aggregating Loggings for Microservices in OSE3/Kubernetes.

end result

Overview

Application developers can view the logs of the projects for which they have view access. The EFK stack aggregates logs from hosts and applications, whether coming from multiple containers or even deleted pods.

The EFK stack is a modified version of the ELK stack and is comprised of:

  • Elasticsearch: An object store where all logs are stored.

  • Fluentd: Gathers logs from nodes and feeds them to Elasticsearch.

  • Kibana: A web UI for Elasticsearch.

Deployment

First create the user and assign the right permissions, to all the components of the stack.

# Remember to change the project names to reflect the yours.
  sh scripts/pre-deployment

Proceed to execute the script to install all the deployment, but before this make sure you install the origin-aggregated-logging.

$ oc apply -n openshift -f https://raw.githubusercontent.com/openshift/origin-aggregated-logging/master/deployer/deployer.yaml

Then execute the installation script

  sh scripts/install-aggregates-logging.sh

Cleanup

You can remove everything generated during the deployment while leaving other project contents intact:

$ oc delete all --selector logging-infra=kibana
$ oc delete all --selector logging-infra=fluentd
$ oc delete all --selector logging-infra=elasticsearch
$ oc delete all --selector logging-infra=curator
$ oc delete all,sa,oauthclient --selector logging-infra=support
$ oc delete secret logging-fluentd logging-elasticsearch \
    logging-es-proxy logging-kibana logging-kibana-proxy \
    logging-kibana-ops-proxy

More information

Kibanna

About

Quick tutorial to get EFK up and running in Openshift 3.xx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published