Sfoglia il codice sorgente

fix bug:调整k8s文件

lijie 2 anni fa
parent
commit
ce197f4bf3
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      docker/k8sfiles/adm-server-standard.yml

+ 3 - 3
docker/k8sfiles/adm-server-standard.yml

@@ -13,8 +13,8 @@ spec:
     targetPort: 8080
     name: server-port
   - port: 8081
-      targetPort: 8081
-      name: job-port
+    targetPort: 8081
+    name: job-port
 
 ---
 apiVersion: apps/v1
@@ -39,7 +39,7 @@ spec:
         - containerPort: 8080
           name: server-port
         - containerPort: 8081
-            name: job-port
+          name: job-port
         env:
         - name: TZ
           value: Asia/Shanghai