瀏覽代碼

deploy pro/realtime-yuewen:r181337 阅文实时接口k8s日志收集

datard 2 年之前
父節點
當前提交
649f1681e7
共有 3 個文件被更改,包括 7 次插入7 次删除
  1. 4 4
      .drone.yml
  2. 1 1
      Dockerfile
  3. 2 2
      deploy-tmp.yaml

+ 4 - 4
.drone.yml

@@ -21,7 +21,7 @@ steps:
   environment:
     JNLP_ENV: pro
     JNLP_REPLICAS: 2
-    JNLP_TAG: r181336
+    JNLP_TAG: r181337
     JNLP_VERSION: v1  # default v1, v2 for canary
     DEPLOY_ENV: k8s-1 # 可以选择把应用部署到集群:k8s-1 or k8s-2
     JNLP_REPO: hub.evbj.easou.com
@@ -54,8 +54,8 @@ steps:
     corpid: ww419ee4063735e1c0
     corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
     agent_id: 1000004
-    title: "Pipeline pro/realtime-yuewen:r181336 Success"
-    description: "${DRONE_BUILD_LINK} pro/realtime-yuewen:r181336 部署完成 阅文实时接口k8s日志收集"
+    title: "Pipeline pro/realtime-yuewen:r181337 Success"
+    description: "${DRONE_BUILD_LINK} pro/realtime-yuewen:r181337 部署完成 阅文实时接口k8s日志收集"
     msg_url: ${DRONE_BUILD_LINK}
     btn_txt: "否"
   when:
@@ -68,7 +68,7 @@ steps:
     corpid: ww419ee4063735e1c0
     corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
     agent_id: 1000004
-    title: "Pipeline pro/realtime-yuewen:r181336 Failure"
+    title: "Pipeline pro/realtime-yuewen:r181337 Failure"
     description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!阅文实时接口k8s日志收集"
     msg_url: ${DRONE_BUILD_LINK}
     btn_txt: "否"

+ 1 - 1
Dockerfile

@@ -1 +1 @@
-FROM hub.evbj.easou.com/pro/realtime-yuewen:r181336
+FROM hub.evbj.easou.com/pro/realtime-yuewen:r181337

+ 2 - 2
deploy-tmp.yaml

@@ -47,7 +47,7 @@ spec:
 #              topologyKey: kubernetes.io/hostname
       containers:
         - name: realtime-yuewen
-          image: hub.evbj.easou.com/pro/realtime-yuewen:r181336
+          image: hub.evbj.easou.com/pro/realtime-yuewen:r181337
           imagePullPolicy: IfNotPresent
           env:
             - name: MY_NODE_NAME
@@ -112,7 +112,7 @@ spec:
             - name: volume #日志同时挂载在nginx和filebeat中
               mountPath: /data
             - name: fluent-bit-config
-              mountPath: /fluent-bit/etc/fluent-bit.conf
+              mountPath: /opt/bitnami/fluent-bit/conf/fluent-bit.conf
               subPath: fluent-bit.conf
       volumes:
         - name: fluent-bit-config