diff --git a/deploymentservice.yaml b/deploymentservice.yaml index b9dfd9d9..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 + port: 9090 # 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.