From ebaea967d3b378d6b9ccfc47b601b647b5dbfb5b Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期二, 22 十二月 2020 10:34:08 +0800
Subject: [PATCH] eureka-k8s配置修改

---
 springcloud_k8s_panzhihuazhihuishequ/deploy-file/deploy-eurekaserver.yaml |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/deploy-file/deploy-eurekaserver.yaml b/springcloud_k8s_panzhihuazhihuishequ/deploy-file/deploy-eurekaserver.yaml
index b438d93..bb070c9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/deploy-file/deploy-eurekaserver.yaml
+++ b/springcloud_k8s_panzhihuazhihuishequ/deploy-file/deploy-eurekaserver.yaml
@@ -8,12 +8,12 @@
   name: eureka-server
  
 spec:
- 
+
   selector:
 
     matchLabels:
 
-      app: spring-boot-app
+      app: spring-boot-eureka
 
   replicas: 1
  
@@ -23,7 +23,7 @@
  
       labels:
  
-        app: spring-boot-app
+        app: spring-boot-eureka
  
     spec:
  
@@ -35,7 +35,7 @@
  
           ports:
  
-            - containerPort: 8761
+            - containerPort: 8192
           env:
             - name: EUREKA_URL
               value: eureka-server
@@ -48,12 +48,12 @@
   name: eureka-server
 spec:
   ports:
-  - port: 8761
-    targetPort: 8761
+  - port: 8192
+    targetPort: 8192
     name: http
     nodePort: 31071
   selector:
-    app: spring-boot-app
+    app: spring-boot-eureka
   type: NodePort
 
 

--
Gitblit v1.7.1