mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: PodMonitor
|
|
metadata:
|
|
name: cilium-operator
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "template.labels" . | nindent 4 }}
|
|
spec:
|
|
podMetricsEndpoints:
|
|
- port: "9963"
|
|
path: /metrics
|
|
namespaceSelector:
|
|
matchNames:
|
|
- kube-system
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: cilium-operator
|
|
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: PodMonitor
|
|
metadata:
|
|
name: cilium-agent
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "template.labels" . | nindent 4 }}
|
|
spec:
|
|
endpoints:
|
|
- port: "9962"
|
|
path: /metrics
|
|
namespaceSelector:
|
|
matchNames:
|
|
- kube-system
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: cilium-agent
|
|
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: hubble-metrics
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "template.labels" . | nindent 4 }}
|
|
spec:
|
|
endpoints:
|
|
- port: "9965"
|
|
path: /metrics
|
|
namespaceSelector:
|
|
matchNames:
|
|
- kube-system
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: hubble |