Browse Source

fix bug:修复无法启动adm-server

lijie 2 years ago
parent
commit
ae3a33485e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docker/k8sfiles/adm-server-standard.yml

+ 5 - 0
docker/k8sfiles/adm-server-standard.yml

@@ -12,6 +12,9 @@ spec:
   - port: 8080
   - port: 8080
     targetPort: 8080
     targetPort: 8080
     name: server-port
     name: server-port
+  - port: 8081
+      targetPort: 8081
+      name: job-port
 
 
 ---
 ---
 apiVersion: apps/v1
 apiVersion: apps/v1
@@ -35,6 +38,8 @@ spec:
         ports:
         ports:
         - containerPort: 8080
         - containerPort: 8080
           name: server-port
           name: server-port
+        - containerPort: 8081
+            name: job-port
         env:
         env:
         - name: TZ
         - name: TZ
           value: Asia/Shanghai
           value: Asia/Shanghai