Compare commits
7 Commits
aee2d151a3
...
23adf5a6be
| Author | SHA1 | Date | |
|---|---|---|---|
| 23adf5a6be | |||
| 790d2152d3 | |||
| 3f156984d9 | |||
| d834e58879 | |||
| 3a4a28598a | |||
| cc00e8de8b | |||
| 6404f7772b |
@@ -13,9 +13,14 @@ local kp = (import 'kube-prometheus/main.libsonnet') + {
|
||||
prometheus+:: {
|
||||
prometheus+: {
|
||||
spec+: {
|
||||
serviceMonitorSelector: {},
|
||||
externalUrl: 'https://metrics.prod.panic.haus',
|
||||
retention: '30d',
|
||||
retentionSize: '16GB',
|
||||
additionalScrapeConfigs: {
|
||||
name: 'prometheus-additional-scrape-configs',
|
||||
key: 'additional-scrape-configs.yaml',
|
||||
},
|
||||
storage: {
|
||||
volumeClaimTemplate: {
|
||||
spec: {
|
||||
|
||||
@@ -10,6 +10,9 @@ metadata:
|
||||
name: k8s
|
||||
namespace: monitoring
|
||||
spec:
|
||||
additionalScrapeConfigs:
|
||||
key: additional-scrape-configs.yaml
|
||||
name: prometheus-additional-scrape-configs
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- apiVersion: v2
|
||||
|
||||
12
deploy/prometheus/prometheus-additional-scrape-configs.yaml
Normal file
12
deploy/prometheus/prometheus-additional-scrape-configs.yaml
Normal file
@@ -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