31 lines
801 B
YAML
31 lines
801 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
{{- if .Values.global.commonAnnotations }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- if .Values.global.commonLabels }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
app.kubernetes.io/part-of: federatorai
|
|
app: alameda
|
|
component: fedemeter-influxdb
|
|
name: fedemeter-influxdb
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
ports:
|
|
- name: http-fedemeter-influxdb
|
|
port: 8086
|
|
protocol: TCP
|
|
targetPort: 8086
|
|
- name: tcp-fedemeter-influxdb
|
|
port: 8088
|
|
protocol: TCP
|
|
targetPort: 8088
|
|
selector:
|
|
component: fedemeter-influxdb
|
|
type: ClusterIP
|