فهرست منبع

deploy qa/offline-process-promotion:r182697 连续畅读

pmrd 2 سال پیش
والد
کامیت
9ad455084c
3فایلهای تغییر یافته به همراه13 افزوده شده و 11 حذف شده
  1. 4 4
      .drone.yml
  2. 1 1
      Dockerfile
  3. 8 6
      deploy-tmp.yaml

+ 4 - 4
.drone.yml

@@ -21,7 +21,7 @@ steps:
   environment:
     JNLP_ENV: qa
     JNLP_REPLICAS: 1
-    JNLP_TAG: r182679
+    JNLP_TAG: r182697
     JNLP_VERSION: v1  # default v1, v2 for canary
     DEPLOY_ENV: k8s-3 # 可以选择把应用部署到集群:k8s-1 or k8s-2
     JNLP_REPO: hub.evbj.easou.com
@@ -56,8 +56,8 @@ steps:
     corpid: ww419ee4063735e1c0
     corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
     agent_id: 1000004
-    title: "Pipeline qa/offline-process-promotion:r182679 Success"
-    description: "${DRONE_BUILD_LINK} qa/offline-process-promotion:r182679 部署完成 连续畅读"
+    title: "Pipeline qa/offline-process-promotion:r182697 Success"
+    description: "${DRONE_BUILD_LINK} qa/offline-process-promotion:r182697 部署完成 连续畅读"
     msg_url: ${DRONE_BUILD_LINK}
     btn_txt: "否"
   when:
@@ -70,7 +70,7 @@ steps:
     corpid: ww419ee4063735e1c0
     corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
     agent_id: 1000004
-    title: "Pipeline qa/offline-process-promotion:r182679 Failure"
+    title: "Pipeline qa/offline-process-promotion:r182697 Failure"
     description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!连续畅读"
     msg_url: ${DRONE_BUILD_LINK}
     btn_txt: "否"

+ 1 - 1
Dockerfile

@@ -1 +1 @@
-FROM hub.evbj.easou.com/qa/offline-process-promotion:r182679
+FROM hub.evbj.easou.com/qa/offline-process-promotion:r182697

+ 8 - 6
deploy-tmp.yaml

@@ -54,7 +54,7 @@ spec:
               topologyKey: kubernetes.io/hostname
       containers:
         - name: offline-process-promotion
-          image: hub.evbj.easou.com/qa/offline-process-promotion:r182679
+          image: hub.evbj.easou.com/qa/offline-process-promotion:r182697
           imagePullPolicy: IfNotPresent
           env:
             - name: MY_NODE_NAME
@@ -149,22 +149,24 @@ spec:
   selector:
     app: offline-process-promotion
 ---
-apiVersion: extensions/v1beta1
+apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
   name: offline-process-promotion-ingress
   namespace: qa
-  annotations:
-    kubernetes.io/ingress.class: nginx
 spec:
+  ingressClassName: nginx
   rules:
     - host: qa-offline-process-promotion.ieasou.cn
       http:
         paths:
           - path: /
+            pathType: ImplementationSpecific
             backend:
-              serviceName: offline-process-promotion-svc
-              servicePort: 80
+              service:
+                name: offline-process-promotion-svc
+                port:
+                  number: 8080
 ---
 apiVersion: v1
 kind: ConfigMap