Qubership Logging Operator

Kubernetes Operator for deploying and managing a comprehensive logging stack including Graylog, FluentD, FluentBit,
and K8S Events Reader.
Table of Contents
Features
The main features are as follows:
- Comprehensive Logging Stack: Deploy Graylog, FluentD, FluentBit, and K8S Events Reader
- Kubernetes Native: Extend Kubernetes API with custom resources and controllers
- Multi-Platform Support: Kubernetes 1.21+ and OpenShift 4.10+ compatibility
- Template-Based Deployment: Logging deployment via customizable templates
- High Availability: Support for HA configurations
- Cloud Integration: AWS CloudWatch, Kafka, Splunk integrations
- Security: TLS support, RBAC, authentication proxy
- Monitoring: Built-in observability and troubleshooting tools
- Integration Testing: Automated testing framework
Requirements
Common Prerequisites
- Kubernetes: 1.21+ or OpenShift 4.10+
- Command-line Tools: kubectl 1.21+ or oc 4.10+
- Package Manager: Helm 3.0+
- Go: 1.24+ (for development)
Storage Requirements
- Persistent Volumes: Required for Graylog (MongoDB and journald)
- Storage Types: Block storage recommended (NFS-like storage not supported)
- OpenSearch/Elasticsearch: Compatible versions depend on Graylog version
For detailed storage requirements, see the Installation Guide.
Installation
Quick Start with Helm
-
Add the Helm repository:
helm repo add qubership-logging-operator https://netcracker.github.io/qubership-logging-operator
helm repo update
-
Install the operator:
helm install qubership-logging-operator qubership-logging-operator/qubership-logging-operator
-
Create a LoggingService custom resource to deploy your logging stack.
For comprehensive installation instructions, see the Installation Guide.
Usage
The operator extends Kubernetes API by creating custom resources and controllers that watch these resources.
Deploy logging components by creating LoggingService custom resources.
Example usage and configuration can be found in the
Examples section.
Configuration
The operator supports extensive configuration options for all logging components:
- FluentD: Custom inputs, filters, and outputs
- FluentBit: Daemon set and stateful set configurations
- Graylog: Authentication, plugins, storage settings
- K8S Events Reader: Event filtering and forwarding
For detailed configuration options, see:
API Reference
Complete API documentation is available at:
Architecture
System Overview
flowchart TB
subgraph "Kubernetes Cluster"
subgraph "Logging Operator"
LO[Logging Operator<br/>Controller]
CR[LoggingService<br/>Custom Resource]
end
subgraph "Log Collection"
FB[FluentBit<br/>DaemonSet]
FD[FluentD<br/>DaemonSet]
ER[Events Reader<br/>Deployment]
end
subgraph "Log Processing & Storage"
GL[Graylog<br/>StatefulSet]
MG[(MongoDB)]
ES[(OpenSearch/<br/>Elasticsearch)]
end
subgraph "Applications"
APP1[App Pods]
APP2[App Pods]
K8S[Kubernetes API]
end
end
subgraph "External"
EXT[External Systems<br/>AWS CloudWatch, Kafka, Splunk]
end
CR --> LO
LO --> FB
LO --> FD
LO --> GL
LO --> ER
APP1 --> FB
APP2 --> FB
K8S --> ER
FB --> FD
FD --> GL
ER --> GL
GL --> MG
GL --> ES
GL --> EXT
The operator follows the standard Kubernetes operator pattern, extending the API with custom resources and controllers.
For detailed architecture information, see the Architecture Guide.
Testing
The project includes comprehensive testing:
Integration Tests
# Run integration tests
make test-integration
Robot Framework Tests
# Run robot tests
cd test/robot-tests
pip install -r requirements.txt
robot src/tests/
For more testing information, see the test directories:
test/envtests/
- Environment tests
test/robot-tests/
- Robot framework tests
Contributing
We'd love to accept patches and contributions to this project. Please follow these guidelines:
- Contributor License Agreement: You must sign the Contributor License Agreement
- Code of Conduct: Read and follow the Code of Conduct
- Development: See CONTRIBUTING.md for detailed contribution guidelines
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.