Created
December 27, 2022 11:16
-
-
Save ishioni/267dd5bcf1df35b7990ec00c250d4cd2 to your computer and use it in GitHub Desktop.
servicemonitor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: monitoring.coreos.com/v1 | |
| kind: ServiceMonitor | |
| metadata: | |
| annotations: | |
| meta.helm.sh/release-name: pve-exporter | |
| meta.helm.sh/release-namespace: monitoring | |
| creationTimestamp: "2022-12-27T10:55:07Z" | |
| generation: 3 | |
| labels: | |
| app.kubernetes.io/instance: pve-exporter | |
| app.kubernetes.io/managed-by: Helm | |
| app.kubernetes.io/name: pve-exporter | |
| helm.sh/chart: app-template-1.2.0 | |
| helm.toolkit.fluxcd.io/name: pve-exporter | |
| helm.toolkit.fluxcd.io/namespace: monitoring | |
| name: pve-exporter | |
| namespace: monitoring | |
| resourceVersion: "28728212" | |
| uid: 8ba710b7-7117-46c1-acc0-dee2731bd10f | |
| spec: | |
| endpoints: | |
| - params: | |
| module: | |
| - default | |
| targets: | |
| - proxmox-1.services.movishell.pl | |
| - proxmox-2.services.movishell.pl | |
| - proxmox-3.services.movishell.pl | |
| - proxmox-4.services.movishell.pl | |
| path: /pve | |
| port: http | |
| relabelings: | |
| - action: replace | |
| sourceLabels: | |
| - __address__ | |
| targetLabel: __param_target | |
| - action: replace | |
| sourceLabels: | |
| - __param_target | |
| targetLabel: instance | |
| - action: replace | |
| replacement: pve-exporter.monitoring.svc.cluster.local:9221 | |
| targetLabel: __address__ | |
| scheme: http | |
| scrapeTimeout: 10s | |
| selector: | |
| matchLabels: | |
| app.kubernetes.io/instance: pve-exporter | |
| app.kubernetes.io/name: pve-exporter | |
| app.kubernetes.io/service: pve-exporter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment