Skip to content

maybeec/openshift-filebeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Filebeat for OpenShift with non-priviledged containers

As the basic docker container given by elastic is running as root, I created a new container allowing to run properly as a non-priviledged container in OpenShift.

Mount points

See https://www.elastic.co/guide/en/beats/filebeat/master/directory-layout.html (rpm installation)

  1. The location of the configuration: /etc/filebeat/filebeat.yml
volumeMounts:
  - mountPath: /etc/filebeat/filebeat.yml
    name: filebeat-config
    readOnly: true
    subPath: filebeat.yml
  1. The location for persistent data files: /var/lib/filebeat
volumeMounts:
  - mountPath: /var/lib/filebeat
    name: filebeatdata
  1. The location for the logs created by Filebeat: /var/log/filebeat
volumeMounts:
  - mountPath: /var/log/filebeat
    name: filebeatlogs

About

Filebeat for Openshift (non-priviledged)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published