The multicluster-observability-addon is a pluggable addon working on OCM based on the extensibility provided by addon-framework which automates the collection and forwarding of observability signals to central stores.
This is acheived through the installation on the spoke clusters of dedicated operators for each observability signal:
-
For Metrics the addon will deploy an instance of Prometheus running in agent mode, that will forward metrics to the hub.
-
For Logs the operator installed will be cluster-logging-operator. The addon will also configure an instance of ClusterLogForwarder to forward logs to a configured store.
-
For Traces the operator installed will be Red Hat build of OpenTelemetry. The addon will also configure an instance of OpenTelemetryCollector to forward traces to a configued store.
The logging-ocm-addon consists of one component:
- Addon-Manager: Not only manages the installation of the AddOn on spoke clusters. But also builds the manifests that will be deployed to the spoke clusters.
- OCM registration (>= 0.5.0)
- cert-manager operator
- multicluster-observability-operator (for metrics)
- Install the AddOn using Kustomize
$ kubectl apply -k deploy/
- The addon should now be installed in you hub cluster
$ kubectl get ClusterManagementAddOn multicluster-observability-addon
- The addon can now be installed it managed clusters by creating
ManagedClusterAddOn
resources in their respective namespaces
Steps to deploy a demo of the addon can be found at demo/README.md
- Addon-Framework: https://github.com/open-cluster-management-io/addon-framework