Merge branch '74-grpc-kubernetes-communication-problem' into 'development'

Resolve "grpc kubernetes communication problem"

See merge request htwk-software/htwkalender!112
This commit is contained in:
Elmar Kresse
2025-04-23 15:07:11 +02:00
5 changed files with 18 additions and 0 deletions

View File

@ -37,6 +37,9 @@ spec:
- name: data-manager - name: data-manager
containerPort: {{ .Values.dataManager.service.targetPort }} containerPort: {{ .Values.dataManager.service.targetPort }}
protocol: TCP protocol: TCP
- name: data-manager-protobuf
containerPort: {{ .Values.dataManager.service.protobufTargetPort }}
protocol: TCP
volumeMounts: volumeMounts:
{{- if .Values.persistence.enabled }} {{- if .Values.persistence.enabled }}
- name: {{ include "htwkalender.name" . }}-storage - name: {{ include "htwkalender.name" . }}-storage

View File

@ -33,6 +33,9 @@ spec:
- name: ical - name: ical
containerPort: {{ .Values.ical.service.targetPort }} containerPort: {{ .Values.ical.service.targetPort }}
protocol: TCP protocol: TCP
- name: ical-protobuf
containerPort: {{ .Values.ical.service.protobufTargetPort }}
protocol: TCP
env: env:
- name: DATA_MANAGER_URL - name: DATA_MANAGER_URL
value: {{ .Values.dataManager.service.name }} value: {{ .Values.dataManager.service.name }}

View File

@ -15,3 +15,7 @@ spec:
targetPort: {{ .Values.dataManager.service.targetPort }} targetPort: {{ .Values.dataManager.service.targetPort }}
protocol: TCP protocol: TCP
name: data-manager name: data-manager
- port: {{ .Values.dataManager.service.protobufPort }}
targetPort: {{ .Values.dataManager.service.protobufTargetPort }}
protocol: TCP
name: data-manager-protobuf

View File

@ -15,3 +15,7 @@ spec:
targetPort: {{ .Values.ical.service.targetPort }} targetPort: {{ .Values.ical.service.targetPort }}
protocol: TCP protocol: TCP
name: ical name: ical
- port: {{ .Values.ical.service.protobufPort }}
targetPort: {{ .Values.ical.service.protobufTargetPort }}
protocol: TCP
name: ical-protobuf

View File

@ -10,6 +10,8 @@ dataManager:
name: &service_data_manager htwkalender-data-manager name: &service_data_manager htwkalender-data-manager
port: &service_data_manager_port 8090 port: &service_data_manager_port 8090
targetPort: 8090 targetPort: 8090
protobufPort: 50051
protobufTargetPort: 50051
ical: ical:
name: ical name: ical
replicas: 2 replicas: 2
@ -20,6 +22,8 @@ ical:
name: &service_ical htwkalender-ical name: &service_ical htwkalender-ical
port: &service_ical_port 8091 port: &service_ical_port 8091
targetPort: 8091 targetPort: 8091
protobufPort: 50051
protobufTargetPort: 50051
frontend: frontend:
name: frontend name: frontend
host: &frontend_host "FRONTEND_URL" host: &frontend_host "FRONTEND_URL"