update prometheus for proxmox
This commit is contained in:
@@ -16,6 +16,7 @@ local kp = (import 'kube-prometheus/main.libsonnet') + {
|
|||||||
externalUrl: 'https://metrics.prod.panic.haus',
|
externalUrl: 'https://metrics.prod.panic.haus',
|
||||||
retention: '30d',
|
retention: '30d',
|
||||||
retentionSize: '16GB',
|
retentionSize: '16GB',
|
||||||
|
additionalScrapeConfigsSecret: 'prometheus-additional-scrape-configs',
|
||||||
storage: {
|
storage: {
|
||||||
volumeClaimTemplate: {
|
volumeClaimTemplate: {
|
||||||
spec: {
|
spec: {
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ metadata:
|
|||||||
name: k8s
|
name: k8s
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
|
additionalScrapeConfigsSecret: prometheus-additional-scrape-configs
|
||||||
alerting:
|
alerting:
|
||||||
alertmanagers:
|
alertmanagers:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: prometheus-additional-scrape-configs
|
||||||
|
namespace: monitoring
|
||||||
|
stringData:
|
||||||
|
additional-scrape-configs.yaml: |
|
||||||
|
- job_name: 'proxmox-holly-node-exporter'
|
||||||
|
scheme: https
|
||||||
|
metrics_path: /metrics
|
||||||
|
static_configs:
|
||||||
|
- targets: ['node-exporter.holly.panic.haus']
|
||||||
Reference in New Issue
Block a user