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:
|
spec:
|
||||||
podMetricsEndpoints:
|
podMetricsEndpoints:
|
||||||
- port: "9963"
|
- port: "9963"
|
||||||
|
path: /metrics
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- kube-system
|
- kube-system
|
||||||
@@ -16,7 +17,7 @@ spec:
|
|||||||
app.kubernetes.io/name: cilium-operator
|
app.kubernetes.io/name: cilium-operator
|
||||||
---
|
---
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: PodMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium-agent
|
name: cilium-agent
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
@@ -24,7 +25,8 @@ metadata:
|
|||||||
{{- include "template.labels" . | nindent 4 }}
|
{{- include "template.labels" . | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: "9964"
|
- port: "9962"
|
||||||
|
path: /metrics
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- kube-system
|
- kube-system
|
||||||
@@ -42,6 +44,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: "9965"
|
- port: "9965"
|
||||||
|
path: /metrics
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- kube-system
|
- kube-system
|
||||||
|
|||||||
Reference in New Issue
Block a user