You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+77-4Lines changed: 77 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,82 @@ This repository contains a [vCluster plugin](https://www.vcluster.com/docs/v0.19
6
6
7
7
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](https://github.com/open-telemetry/opentelemetry-operator/blob/main/cmd/otel-allocator/README.md) that supports Prometheus operator CRDs).
8
8
9
-
The repository contains 2 versions of the plugin, each version is compatible with different versions of vCluster, but both versions provide the same functionality.
10
-
This compatibility is required as Syncer arhitecture was overhauled by loft.sh in version 0.20.0 and plugin-sdk changed accordingly.
9
+
This plugin is compatibe with vCluster version `0.21.0` and above, tested on `v0.23.0`, which was latest at the time of writing this plugin.
11
10
12
-
`v1` - Compatible with older versions of vCluster - latest confirmed & tested version is `0.16.4`
11
+
# Development
13
12
14
-
`v2` - Compatibe with vCluster version `0.20.0-beta.9` which was the latest version at the time of writing.
13
+
For more information how to develop plugins in vcluster, please refer to the [official vcluster docs](https://www.vcluster.com/docs/plugins/overview).
14
+
15
+
## Using the Plugin in vcluster
16
+
17
+
To use the plugin, create a new vcluster with the `plugin.yaml`:
18
+
19
+
```
20
+
# Deploy Prometheus operator on host cluster with Helm:
21
+
For more info see -https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack?modal=install
0 commit comments