| 
					
				 | 
			
			
				@@ -0,0 +1,125 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+--- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+apiVersion: apps.kruise.io/v1beta1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+#apiVersion: apps/v1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+kind: StatefulSet 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+metadata: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  name: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  namespace: bi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  labels: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    app: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+spec: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  serviceName: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  replicas: 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  selector: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    matchLabels: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      app: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  template: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    metadata: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      labels: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        app: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    spec: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      hostNetwork: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      readinessGates: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      - conditionType: InPlaceUpdateReady 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      terminationGracePeriodSeconds: 30 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      dnsPolicy: "None" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      dnsConfig: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        nameservers: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - 223.5.5.5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - 10.26.22.50 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        searches: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - pro.svc.cluster.local 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - svc.cluster.local 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - cluster.local 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        options: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - name: ndots 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            value: "5" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      initContainers: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        - name: init 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          image: hub.evbj.easou.com/dev/busybox 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          command: ['sh', "-c", 'chmod 777 -R /opt/tomcat-7.0.105/webapps && chown -R esbi.esbi /opt/tomcat-7.0.105/webapps'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          imagePullPolicy: IfNotPresent 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          volumeMounts: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - name: volume 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            mountPath: /data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        - name: init-package 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          image: hub.evbj.easou.com/dev/busybox 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          command: ['sh', '-c', 'rm -rf /data/project/* && wget http://10.40.20.61/release/app-web/prod-64/novelapi/3.1.329/novelapi_3.1.329_tempDemand_T3.1.328-194750_3.1.329_20240822-142431_RBL/ROOT.war -O /data/project/ROOT.war && md5sum  /data/project/ROOT.war'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          imagePullPolicy: IfNotPresent 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          volumeMounts: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          - name: volume 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            mountPath: /data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      containers: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      - name: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        image: hub.evbj.easou.com/dev/book-api:v3.1base 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        imagePullPolicy: Always 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ports: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        - containerPort: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          name: port 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        lifecycle: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          preStop: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            exec: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              command: ["/bin/sh","-c","supervisorctl stop all"] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        volumeMounts: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        - name: volume 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          mountPath: /data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        livenessProbe: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          tcpSocket: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            port: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          initialDelaySeconds: 45 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          periodSeconds: 15 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        readinessProbe: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          tcpSocket: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            port: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          initialDelaySeconds: 45 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          periodSeconds: 15 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  updateStrategy: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    type: RollingUpdate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    rollingUpdate: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      podUpdatePolicy: InPlaceIfPossible 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      inPlaceUpdateStrategy: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        gracePeriodSeconds: 10 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  volumeClaimTemplates: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  - metadata: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      name: volume 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    spec: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      accessModes: ["ReadWriteOnce"] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      storageClassName: rbd 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      resources: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        requests: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          storage: 200Gi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+--- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+apiVersion: v1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+kind: Service 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+metadata: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  name: apptj-svc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  namespace: bi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  labels: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    app: apptj-svc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+spec: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  type: NodePort 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  ports: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  - port: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    targetPort: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    nodePort: 11010 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  selector: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    app: apptj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+--- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+apiVersion: networking.k8s.io/v1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+kind: Ingress 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+metadata: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  name: apptj-ingress 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  namespace: bi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+spec: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  rules: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  - host: bi-apptj.ieasou.cn 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    http: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      paths: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      - path: / 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        pathType: Prefix 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        backend: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          service: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            name: apptj-svc 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            port: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              number: 8080 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  ingressClassName: nginx 
			 |