浏览代码

fix bug:调整k8s文件

lijie 2 年之前
父节点
当前提交
ce197f4bf3
共有 1 个文件被更改,包括 3 次插入3 次删除
  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