Browse Source

[CI SKIP]

robert 4 tháng trước cách đây
mục cha
commit
3d782287a0
1 tập tin đã thay đổi với 15 bổ sung15 xóa
  1. 15 15
      deploy.yaml

+ 15 - 15
deploy.yaml

@@ -3,20 +3,20 @@
 apiVersion: apps/v1
 kind: StatefulSet
 metadata:
-  name: apptj
+  name: cptj
   namespace: bi
   labels:
-    app: apptj
+    app: cptj
 spec:
-  serviceName: apptj
+  serviceName: cptj
   replicas: 2
   selector:
     matchLabels:
-      app: apptj
+      app: cptj
   template:
     metadata:
       labels:
-        app: apptj
+        app: cptj
     spec:
       hostNetwork: true
       terminationGracePeriodSeconds: 30
@@ -42,13 +42,13 @@ spec:
             mountPath: /data
         - name: init-package
           image: hub.evbj.easou.com/dev/busybox
-          command: ['sh', '-c', 'rm -rf /data/webapps/* && wget http://10.40.20.61/release/search-wapage/prod-64/easou-bi/1.0.14/easou-bi_1.0.14_addK8s_T-5888_1.0.14_20241216-162719_RBL/ROOT.war -O /data/webapps/ROOT.war && md5sum  /data/webapps/ROOT.war']
+          command: ['sh', '-c', 'rm -rf /data/webapps/* && wget http://10.40.20.61/release/search-wapage/prod-64/easoubi-bookcptj/1.0.23/easoubi-bookcptj_1.0.23_addDataInterface_T1.0.22-5087_1.0.23_20221117-093916_RBL/ROOT.war -O /data/webapps/ROOT.war && md5sum  /data/webapps/ROOT.war']
           imagePullPolicy: IfNotPresent
           volumeMounts:
           - name: volume
             mountPath: /data
       containers:
-      - name: apptj
+      - name: cptj
         image: hub.evbj.easou.com/bi/apptj:v1base
         imagePullPolicy: Always
         ports:
@@ -84,10 +84,10 @@ spec:
 apiVersion: v1
 kind: Service
 metadata:
-  name: apptj-svc
+  name: cptj-svc
   namespace: bi
   labels:
-    app: apptj-svc
+    app: cptj-svc
 spec:
   type: NodePort
   ports:
@@ -95,12 +95,12 @@ spec:
     targetPort: 8080
     nodePort: 30010
   selector:
-    app: apptj
+    app: cptj
 ---
 apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
-  name: apptj-ingress
+  name: cptj-ingress
   namespace: bi
   annotations:
     kubernetes.io/ingress.class: nginx
@@ -108,24 +108,24 @@ metadata:
     nginx.ingress.kubernetes.io/affinity-mode: persistent
 spec:
   rules:
-  - host: bi-apptj.ieasou.cn
+  - host: bi-cptj.ieasou.cn
     http:
       paths:
       - path: /
         pathType: Prefix
         backend:
           service:
-            name: apptj-svc
+            name: cptj-svc
             port:
               number: 8080
-  - host: apptj.appeasou.com
+  - host: cptj.busydata.cn
     http:
       paths:
       - path: /
         pathType: Prefix
         backend:
           service:
-            name: apptj-svc
+            name: cptj-svc
             port:
               number: 8080
   ingressClassName: nginx