fix k8s service routing http traffic to workers

This commit is contained in:
Jens Langhammer 2019-03-10 15:34:24 +01:00
parent a5dc193cfd
commit c012c6be5c
3 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@ metadata:
helm.sh/chart: {{ include "passbook.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
passbook.io/component: web
spec:
replicas: {{ .Values.replicaCount }}
selector:

View file

@ -17,3 +17,4 @@ spec:
selector:
app.kubernetes.io/name: {{ include "passbook.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
passbook.io/component: web

View file

@ -7,6 +7,7 @@ metadata:
helm.sh/chart: {{ include "passbook.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
passbook.io/component: worker
spec:
replicas: {{ .Values.replicaCount }}
selector: