apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
annotations:
arms.prometheus.io/discovery: 'true'
name: cmdbmonitor
namespace: prod
spec:
endpoints:
- interval: 30s
path: /metrics
port: client
namespaceSelector:
matchNames:
- default
selector:
matchLabels:
app.kubernetes.io/instance: cmdb
micrometer-prometheus-discovery: 'true'
版权归属:
Administrator
许可协议:
本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权
评论区