瀏覽代碼

修改APP2

bianzhenhua123 4 周之前
父節點
當前提交
e6f5ad30fd
共有 4 個文件被更改,包括 15 次插入19 次删除
  1. 7 7
      poyee-admin/DEV/deployment.yaml
  2. 0 2
      poyee-app/DEV/Jenkinsfile
  3. 1 3
      poyee-app/DEV/cfg.yaml
  4. 7 7
      poyee-app/DEV/deployment.yaml

+ 7 - 7
poyee-admin/DEV/deployment.yaml

@@ -23,13 +23,13 @@ spec:
         image: <docker_image>
         command: ["java"]
         args: <java_args>
-        readinessProbe:
-          httpGet:
-            path: <service_health>
-            port: 80
-          initialDelaySeconds: 15
-          periodSeconds: 30
-          failureThreshold: 3
+        #readinessProbe:
+        #  httpGet:
+        #    path: <service_health>
+        ##    port: 80
+        #  initialDelaySeconds: 15
+        #  periodSeconds: 30
+        #  failureThreshold: 3
         ports:
         - name: http
           containerPort: 80

+ 0 - 2
poyee-app/DEV/Jenkinsfile

@@ -46,8 +46,6 @@ EOF
                                 "--spring.config.location=file:/app/configs/application.yml,file:/app/configs/application-druid.yml"]
                             String[] K8S_BACKUPS = []
 
-                            def action = "${params.DEPLOYMENT_TYPE}"
-
                             if ("upgrade" == action || "upgrade:selected" == action) {
 
                                 def base_branch = "${params.BRANCH}"

+ 1 - 3
poyee-app/DEV/cfg.yaml

@@ -8,9 +8,7 @@ project:
     module: 'poyi-app'
     jar: 'poyi-app.jar'
 
-    
-  skywalking:
-    address: 192.168.56.6:11800
+
   k3s:
     kubeconfig: k3s/k3s-dev6.yaml
     cpu_limits: 850m

+ 7 - 7
poyee-app/DEV/deployment.yaml

@@ -28,13 +28,13 @@ spec:
         image: <docker_image>
         command: ["java"]
         args: <java_args>
-        readinessProbe:
-          httpGet:
-            path: <service_health>
-            port: 80
-          initialDelaySeconds: 15
-          periodSeconds: 30
-          failureThreshold: 3
+        #readinessProbe:
+        #  httpGet:
+        #    path: <service_health>
+        #    port: 80
+        #  initialDelaySeconds: 15
+        #  periodSeconds: 30
+        #  failureThreshold: 3
         ports:
         - name: http
           containerPort: 80