cluster-logging-operator

module
v0.0.0-...-07e42da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0

README

= Cluster Logging Operator

An operator to support OKD aggregated cluster logging. Cluster logging configuration information
is found in the link:./docs/administration/configuration.md[configuration] documentation.

== Overview

The CLO (Cluster Logging Operator) provides a set of APIs to control collection and forwarding of logs from
all pods and nodes in a cluster. This includes _application_ logs (from regular
pods), _infrastructure_ logs (from system pods and node logs), and _audit_ logs
(special node logs with legal/security implications)

The CLO does not collect or forward logs itself: it starts, configures, monitors
and manages the components that do the work.

CLO currently uses:

* Vector as collector/forwarder
* Loki as store
* Openshift console for visualization.

(Still supports fluentd, elasticsearch and kibana for compatibility)

The goal is to _encapsulate_ those technologies behind APIs so that:

. The user has less to learn, and has a simpler experience to control logging.
. These technologies can be replaced in the future without affecting the user experience.

The CLO can also _forward_ logs over multiple protocols, to multiple types of log stores, on- or off-cluster

The CLO _owns_ the following APIs:

* ClusterLogging: Top level control of cluster-wide logging resources
* ClusterLogForwarder: Configure forwarding of logs to external sources

To install a released version of cluster logging see the https://docs.openshift.com/[Openshift Documentation], (e.g., https://docs.openshift.com/container-platform/4.5/logging/cluster-logging-deploying.html[OCP v4.5])

To experiment or contribute to the development of cluster logging, see the link:docs/contributing/README.adoc[hacking] and link:docs/contributing/REVIEW.adoc[review] documentation

To debug the cluster logging stack, see link:./must-gather/README.md[README.md]

To find currently known Cluster Logging Operator issues with work-arounds, see the link:docs/administration/troubleshooting.md[Troubleshooting] guide.

Directories

Path Synopsis
api
logging/v1
Package v1 contains API Schema definitions for the logging v1 API group
Package v1 contains API Schema definitions for the logging v1 API group
logging/v1alpha1
package v1alpha1 custom resorces for the cluster logging operator.
package v1alpha1 custom resorces for the cluster logging operator.
observability/v1
Package v1 contains API Schema definitions for the observability v1 API group
Package v1 contains API Schema definitions for the observability v1 API group
internal
datamodels/operator/v1
Package contains API definitions for Cluster logging that can not be added to the apis package +groupName=logging
Package contains API definitions for Cluster logging that can not be added to the apis package +groupName=logging
datamodels/viaq/v1
Package contains API definitions for the logging viaq datamodel +groupName=viaq
Package contains API definitions for the logging viaq datamodel +groupName=viaq
generator/url
package url provides operations on URLs and URL schemes for log forwarding destinations.
package url provides operations on URLs and URL schemes for log forwarding destinations.
status
Package status is borrowed from the operator-sdk, it is not available on the version we currently have in our vendor tree.
Package status is borrowed from the operator-sdk, it is not available on the version we currently have in our vendor tree.
tls
url
package url provides operations on URLs and URL schemes for log forwarding destinations.
package url provides operations on URLs and URL schemes for log forwarding destinations.
client
package client provides a client for tests.
package client provides a client for tests.
e2e/flowcontrol
End-to-End Tests for Log Flow Control LOG-1043: Log Flow Control API Enhancement
End-to-End Tests for Log Flow Control LOG-1043: Log Flow Control API Enhancement
functional/flowcontrol
Functional Tests for Log Flow Control
Functional Tests for Log Flow Control
helpers/fluentd
package fluentd provides a fluentd receiver for use in e2e forwarding tests.
package fluentd provides a fluentd receiver for use in e2e forwarding tests.
runtime
package runtime provides conveniences based on "k8s.io/apimachinery/pkg/runtime"
package runtime provides conveniences based on "k8s.io/apimachinery/pkg/runtime"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL