Add platform infrastructure configuration
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: platform-postgres
|
||||
namespace: platform-data
|
||||
labels:
|
||||
app.kubernetes.io/name: platform-postgres
|
||||
app.kubernetes.io/component: database-metrics
|
||||
app.kubernetes.io/part-of: platform
|
||||
observability.hyeonworks.com/instance: home
|
||||
spec:
|
||||
jobLabel: cnpg.io/cluster
|
||||
selector:
|
||||
matchLabels:
|
||||
cnpg.io/cluster: platform-postgres
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- platform-data
|
||||
podMetricsEndpoints:
|
||||
- port: metrics
|
||||
path: /metrics
|
||||
interval: 30s
|
||||
scrapeTimeout: 10s
|
||||
|
||||
Reference in New Issue
Block a user