From 74b311b3ff5b0e3c94a609cd6863b90d14c53310 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 6 Jun 2023 16:39:23 +0800 Subject: [PATCH] update discover-service port --- trainer-upgrade/service_group/discover-service.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trainer-upgrade/service_group/discover-service.yaml b/trainer-upgrade/service_group/discover-service.yaml index 9cd25d9..265fd0d 100644 --- a/trainer-upgrade/service_group/discover-service.yaml +++ b/trainer-upgrade/service_group/discover-service.yaml @@ -26,7 +26,7 @@ spec: image: beaconfireiic/service-discovery:1.1.0 ports: - name: http - containerPort: 8888 + containerPort: 8761 protocol: TCP env: - name: "LOGGING_LEVEL_ROOT" @@ -34,7 +34,7 @@ spec: - name: "EUREKA_INSTANCE_HOSTNAME" value: "discovery-service" - name: "SERVER_PORT" - value: "8888" + value: "8761" - name: "LOG_APP-NAME" value: "discovery-service" - name: "SPRING_PROFILES_ACTIVE" @@ -63,7 +63,7 @@ spec: ports: - name: http protocol: TCP - port: 8888 + port: 8761 targetPort: http selector: app: discovery-service @@ -107,7 +107,7 @@ spec: - name: "SERVER_PORT" value: "8888" - name: "EUREKA_CLIENT_SERVICE-URL_DEFAULT-ZONE" - value: "http://discovery-service:8888/eureka/" + value: "http://discovery-service:8761/eureka/" - name: "LOG_APP-NAME" value: "gateway" - name: "SPRING_PROFILES_ACTIVE"