From ac22be19fe8a035de0449c068852b368cab7dc3f Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Thu, 8 Oct 2020 11:19:21 +0100 Subject: [PATCH] [08.10.20] Having multiple ports exposed needs naming --- configuration/kubernetes/service.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration/kubernetes/service.yaml b/configuration/kubernetes/service.yaml index 61bc513..6fabba4 100644 --- a/configuration/kubernetes/service.yaml +++ b/configuration/kubernetes/service.yaml @@ -9,10 +9,12 @@ spec: selector: app: RESOURCE_NAME ports: - - port: 9090 + - name: predictions + port: 9090 protocol: TCP targetPort: 9090 - - port: 9091 + - name: probes + port: 9091 protocol: TCP targetPort: 9091 sessionAffinity: None