1. zt-module-report 不在进行部署

This commit is contained in:
chenbowen
2025-11-13 09:14:50 +08:00
parent bd56cb0405
commit 9c99750dd8

View File

@@ -280,76 +280,76 @@ spec:
# nodePort: 30093 # nodePort: 30093
--- ---
# zt-module-report # zt-module-report
apiVersion: apps/v1 #apiVersion: apps/v1
kind: Deployment #kind: Deployment
metadata: #metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 # namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: zt-module-report # name: zt-module-report
labels: # labels:
app: zt-module-report # app: zt-module-report
annotations: # annotations:
version: "VERSION_PLACEHOLDER" # version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER # description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" # rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
spec: #spec:
replicas: 1 # replicas: 1
selector: # selector:
matchLabels: # matchLabels:
app: zt-module-report # app: zt-module-report
template: # template:
metadata: # metadata:
labels: # labels:
app: zt-module-report # app: zt-module-report
spec: # spec:
containers: # containers:
- name: zt-module-report # - name: zt-module-report
image: 172.16.46.66:10043/zt/zt-module-report:VERSION_PLACEHOLDER # image: 172.16.46.66:10043/zt/zt-module-report:VERSION_PLACEHOLDER
imagePullPolicy: Always # imagePullPolicy: Always
env: # env:
- name: TZ # - name: TZ
value: Asia/Shanghai # value: Asia/Shanghai
readinessProbe: # readinessProbe:
httpGet: # httpGet:
path: /actuator/health # path: /actuator/health
port: 48084 # port: 48084
initialDelaySeconds: 50 # initialDelaySeconds: 50
periodSeconds: 5 # periodSeconds: 5
failureThreshold: 3 # failureThreshold: 3
livenessProbe: # livenessProbe:
httpGet: # httpGet:
path: /actuator/health # path: /actuator/health
port: 48084 # port: 48084
initialDelaySeconds: 50 # initialDelaySeconds: 50
periodSeconds: 10 # periodSeconds: 10
failureThreshold: 5 # failureThreshold: 5
resources: # resources:
requests: # requests:
cpu: "500m" # cpu: "500m"
memory: "1024Mi" # memory: "1024Mi"
limits: # limits:
cpu: "2048m" # cpu: "2048m"
memory: "2048Mi" # memory: "2048Mi"
terminationGracePeriodSeconds: 30 # terminationGracePeriodSeconds: 30
strategy: # strategy:
type: RollingUpdate # type: RollingUpdate
rollingUpdate: # rollingUpdate:
maxSurge: 1 # maxSurge: 1
maxUnavailable: 0 # maxUnavailable: 0
--- #---
apiVersion: v1 #apiVersion: v1
kind: Service #kind: Service
metadata: #metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 # namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: zt-module-report # name: zt-module-report
spec: #spec:
type: NodePort # type: NodePort
selector: # selector:
app: zt-module-report # app: zt-module-report
ports: # ports:
- protocol: TCP # - protocol: TCP
port: 48084 # port: 48084
targetPort: 48084 # targetPort: 48084
nodePort: 30094 # nodePort: 30094
--- ---
# zt-module-databus # zt-module-databus
apiVersion: apps/v1 apiVersion: apps/v1