From dbdf328b3b5b7c7a138dce146490b05decaf0ce3 Mon Sep 17 00:00:00 2001 From: madhavi3003 Date: Sun, 15 Dec 2024 11:32:56 +0000 Subject: [PATCH 1/4] Update deploymentservice.yaml --- deploymentservice.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploymentservice.yaml b/deploymentservice.yaml index b9dfd9d9..d6411d7e 100644 --- a/deploymentservice.yaml +++ b/deploymentservice.yaml @@ -33,4 +33,4 @@ spec: - protocol: "TCP" port: 8080 # The port that the service is running on in the cluster targetPort: 8080 # The port exposed by the service - type: NodePort # type of the service. \ No newline at end of file + type: Loadbalancer # type of the service. From ce84aeee3574c7cc539be7aae059b8f42e8f23b5 Mon Sep 17 00:00:00 2001 From: madhavi3003 Date: Sun, 15 Dec 2024 12:43:27 +0000 Subject: [PATCH 2/4] Update deploymentservice.yaml --- deploymentservice.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploymentservice.yaml b/deploymentservice.yaml index d6411d7e..c7db913c 100644 --- a/deploymentservice.yaml +++ b/deploymentservice.yaml @@ -33,4 +33,4 @@ spec: - protocol: "TCP" port: 8080 # The port that the service is running on in the cluster targetPort: 8080 # The port exposed by the service - type: Loadbalancer # type of the service. + type: LoadBalancer # type of the service. From c6c370859c61cb3d3178136a52b0952e11934a54 Mon Sep 17 00:00:00 2001 From: madhavi3003 Date: Sun, 15 Dec 2024 12:45:53 +0000 Subject: [PATCH 3/4] Update deploymentservice.yaml --- deploymentservice.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploymentservice.yaml b/deploymentservice.yaml index c7db913c..2080dcff 100644 --- a/deploymentservice.yaml +++ b/deploymentservice.yaml @@ -32,5 +32,5 @@ spec: ports: - protocol: "TCP" port: 8080 # The port that the service is running on in the cluster - targetPort: 8080 # The port exposed by the service + targetPort: 9090 # The port exposed by the service type: LoadBalancer # type of the service. From 960981892f414ef6647aa61245abaea9447ad334 Mon Sep 17 00:00:00 2001 From: madhavi3003 Date: Sun, 15 Dec 2024 12:48:07 +0000 Subject: [PATCH 4/4] Update deploymentservice.yaml --- deploymentservice.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploymentservice.yaml b/deploymentservice.yaml index 2080dcff..2e7c436c 100644 --- a/deploymentservice.yaml +++ b/deploymentservice.yaml @@ -31,6 +31,6 @@ spec: app: spring-boot-k8s ports: - protocol: "TCP" - port: 8080 # The port that the service is running on in the cluster - targetPort: 9090 # The port exposed by the service + port: 9090 # The port that the service is running on in the cluster + targetPort: 8080 # The port exposed by the service type: LoadBalancer # type of the service.