Add platform infrastructure configuration
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: Probe
|
||||
metadata:
|
||||
name: platform-private-internal
|
||||
namespace: observability
|
||||
labels:
|
||||
app.kubernetes.io/name: prometheus-blackbox-exporter
|
||||
app.kubernetes.io/instance: blackbox-exporter
|
||||
app.kubernetes.io/part-of: platform-observability
|
||||
observability.hyeonworks.com/instance: home
|
||||
spec:
|
||||
jobName: blackbox-private-internal
|
||||
interval: 30s
|
||||
scrapeTimeout: 15s
|
||||
module: http_private_internal_200
|
||||
prober:
|
||||
url: blackbox-exporter.observability.svc.cluster.local:9115
|
||||
scheme: http
|
||||
path: /probe
|
||||
proxyFromEnvironment: false
|
||||
targets:
|
||||
staticConfig:
|
||||
labels:
|
||||
observability.hyeonworks.com/probe-group: private-internal
|
||||
static:
|
||||
- http://grafana.observability.svc.cluster.local/api/health
|
||||
- http://pgadmin.platform-admin.svc.cluster.local/misc/ping
|
||||
- http://minio-aistor-console.object-storage.svc.cluster.local:9090/
|
||||
relabelingConfigs:
|
||||
- sourceLabels:
|
||||
- __param_target
|
||||
regex: http://grafana[.]observability[.]svc[.]cluster[.]local/api/health
|
||||
targetLabel: __param_hostname
|
||||
replacement: grafana.learn.hyeonworks.com
|
||||
- sourceLabels:
|
||||
- __param_target
|
||||
regex: http://pgadmin[.]platform-admin[.]svc[.]cluster[.]local/misc/ping
|
||||
targetLabel: __param_hostname
|
||||
replacement: db-admin.learn.hyeonworks.com
|
||||
- sourceLabels:
|
||||
- __param_target
|
||||
regex: http://minio-aistor-console[.]object-storage[.]svc[.]cluster[.]local:9090/
|
||||
targetLabel: __param_hostname
|
||||
replacement: storage-admin.learn.hyeonworks.com
|
||||
Reference in New Issue
Block a user