Skip to content

Plugin for vCluster (by loft.sh) that enables syncing Prometheus operator resources (ServiceMonitors and PodMonitors) from virtual clusters to host cluster

Notifications You must be signed in to change notification settings

codefresh-contrib/vcluster-prometheus-operator-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vCluster Prometheus operator plugin

Codefresh build status

This repository contains a vCluster plugin that syncs Prometheus operator resources from virtual clusters to the host cluster.

Currently only the very basic functionality is implemented so the plugin only supports syncing of PodMonitor and ServiceMonitor resources. This is to allow scraping of metrics from workloads running on virtual clusters from a signle Prometheus or Open Telemetry collector on the host (with target allocator that supports Prometheus operator CRDs).

The repository contains 2 versions of the plugin, each version is compatible with different versions of vCluster, but both versions provide the same functionality. This compatibility is required as Syncer arhitecture was overhauled by loft.sh in version 0.20.0 and plugin-sdk changed accordingly.

v1 - Compatible with older versions of vCluster - latest confirmed & tested version is 0.16.4

v2 - Compatibe with vCluster version 0.20.0-beta.9 which was the latest version at the time of writing.

About

Plugin for vCluster (by loft.sh) that enables syncing Prometheus operator resources (ServiceMonitors and PodMonitors) from virtual clusters to host cluster

Resources

Stars

Watchers

Forks

Packages