mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Fix port and paths of cilium monitor definitions
This commit is contained in:
@@ -8,6 +8,7 @@ metadata:
|
||||
spec:
|
||||
podMetricsEndpoints:
|
||||
- port: "9963"
|
||||
path: /metrics
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- kube-system
|
||||
@@ -16,7 +17,7 @@ spec:
|
||||
app.kubernetes.io/name: cilium-operator
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
kind: PodMonitor
|
||||
metadata:
|
||||
name: cilium-agent
|
||||
namespace: {{ .Release.Namespace }}
|
||||
@@ -24,7 +25,8 @@ metadata:
|
||||
{{- include "template.labels" . | nindent 4 }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: "9964"
|
||||
- port: "9962"
|
||||
path: /metrics
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- kube-system
|
||||
@@ -42,6 +44,7 @@ metadata:
|
||||
spec:
|
||||
endpoints:
|
||||
- port: "9965"
|
||||
path: /metrics
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- kube-system
|
||||
|
||||
Reference in New Issue
Block a user