Skip to content

Commit

Permalink
services for everything that needs too be monitored (#3785)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
Co-authored-by: Chris Martin <chris@cmartinit.co.uk>
  • Loading branch information
d80tb7 and d80tb7 committed Jul 12, 2024
1 parent b28b399 commit af68d91
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
14 changes: 14 additions & 0 deletions deployment/event-ingester/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "event_ingester.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "event_ingester.labels.all" . | nindent 4 }}
spec:
selector:
{{- include "event_ingester.labels.identity" . | nindent 4 }}
ports:
- name: metrics
protocol: TCP
port: {{ .Values.applicationConfig.metricsPort }}
14 changes: 14 additions & 0 deletions deployment/lookout-ingester-v2/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "lookout_ingester_v2.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "lookout_ingester_v2.labels.all" . | nindent 4 }}
spec:
selector:
{{- include "lookout_ingester_v2.labels.identity" . | nindent 4 }}
ports:
- name: metrics
protocol: TCP
port: {{ .Values.applicationConfig.metricsPort }}
4 changes: 4 additions & 0 deletions deployment/lookout-v2/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ spec:
{{- if .Values.httpNodePort }}
nodePort: {{ .Values.httpNodePort }}
{{- end }}
- name: metrics
protocol: TCP
port: {{ .Values.applicationConfig.metricsPort }}

14 changes: 14 additions & 0 deletions deployment/scheduler/templates/scheduler-ingester-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "armada-scheduler.name" . }}-ingester
namespace: {{ .Release.Namespace }}
labels:
{{- include "armada-scheduler-ingester.labels.all" . | nindent 4 }}
spec:
selector:
{{- include "armada-scheduler-ingester.labels.identity" . | nindent 4 }}
ports:
- name: metrics
protocol: TCP
port: {{ .Values.ingester.applicationConfig.metricsPort }}

0 comments on commit af68d91

Please sign in to comment.