Skip to content

stolostron/multicluster-observability-addon

Repository files navigation

Multi Cluster Observability AddOn

Description

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 achieved through the installation of the spoke clusters of dedicated operators for each observability signal:

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.

Getting started

Prerequisite

  • OCM registration (>= 0.5.0)

Steps

Installing via Kustomize

  1. Install the AddOn using Kustomize

    make install-crds
    kubectl apply -k deploy/
  2. The addon should now be installed in you hub cluster

    kubectl get ClusterManagementAddOn multicluster-observability-addon
  3. The addon will install automatically in spoke clusters once the resources referenced in ClusterManagementAddOn are created.

Installing via MCO

In 2.12, multicluster-observability-operator has the ability to install MCOA using the capabilities field.

  1. Create a MultiClusterObservability resource and configure capabilities

    apiVersion: observability.open-cluster-management.io/v1beta2
    kind: MultiClusterObservability
    metadata:
      name: observability
    spec:
      capabilities:
        platform:
          logs:
            collection:
              enabled: true
        userWorkloads:
          logs:
            collection:
              clusterLogForwarder:
                enabled: true
          traces:
            collection:
              instrumentation:
                enabled: true
              openTelemetryCollector:
                enabled: false
      observabilityAddonSpec: {}
      storageConfig:
        metricObjectStorage:
          name: thanos-object-storage
          key: thanos.yaml

    Note: Deploy a custom image by adding the annotation: mco-multicluster_observability_addon-image: quay.io/YOUR_ORG_HERE/multicluster-observability-addon:YOUR_TAG_HERE

  2. The addon should now be installed in you hub cluster

    kubectl get ClusterManagementAddOn multicluster-observability-addon
  3. The addon will install automatically in spoke clusters once the resources referenced in ClusterManagementAddOn are created.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages