From 6fedf73e0dafcc4e481baf31acde6932810fca34 Mon Sep 17 00:00:00 2001 From: Dede Fuji Abdul Date: Mon, 15 Jan 2024 15:05:47 +0700 Subject: [PATCH] Update service name and ports in deployment.yaml --- deployment.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 40c6a97..56333ed 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -21,12 +21,13 @@ spec: apiVersion: v1 kind: Service metadata: - name: apkt-eis-node + name: apkt-eis-service spec: - type: NodePort - ports: - - port: 80 - nodePort: 32166 - name: http selector: - name: apkt-eis + app: apkt-eis + ports: + - protocol: TCP + port: 80 + targetPort: 80 + type: NodePort +