update discover-server port 8888

main
ycz008 2023-07-14 16:16:41 +08:00
parent 8b10879841
commit 4e3833b184
1 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8761
protocol: TCP protocol: TCP
env: env:
- name: "LOGGING_LEVEL_ROOT" - name: "LOGGING_LEVEL_ROOT"
@ -35,7 +35,7 @@ spec:
- name: "EUREKA_INSTANCE_HOSTNAME" - name: "EUREKA_INSTANCE_HOSTNAME"
value: "discovery-service" value: "discovery-service"
- name: "SERVER_PORT" - name: "SERVER_PORT"
value: "8080" value: "8761"
- name: "LOG_APP-NAME" - name: "LOG_APP-NAME"
value: "discovery-service" value: "discovery-service"
- name: "SPRING_PROFILES_ACTIVE" - name: "SPRING_PROFILES_ACTIVE"
@ -64,7 +64,7 @@ spec:
ports: ports:
- name: http - name: http
protocol: TCP protocol: TCP
port: 8080 port: 8761
targetPort: http targetPort: http
selector: selector:
app: discovery-service app: discovery-service
@ -102,7 +102,7 @@ spec:
- name: "SERVER_PORT" - name: "SERVER_PORT"
value: "8080" value: "8080"
- name: "EUREKA_CLIENT_SERVICE-URL_DEFAULT-ZONE" - name: "EUREKA_CLIENT_SERVICE-URL_DEFAULT-ZONE"
value: "http://discovery-service:8080/eureka/" value: "http://discovery-service:8761/eureka/"
- name: "LOG_APP-NAME" - name: "LOG_APP-NAME"
value: "gateway" value: "gateway"
- name: "SPRING_PROFILES_ACTIVE" - name: "SPRING_PROFILES_ACTIVE"