deploy: add MES V2 manifests
This commit is contained in:
parent
2c2fb2b4f3
commit
d7ef068b4c
76
v2/imes-basic-dashboard.yaml
Normal file
76
v2/imes-basic-dashboard.yaml
Normal file
@ -0,0 +1,76 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-dashboard
|
||||
name: imes-basic-dashboard
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-dashboard
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-dashboard
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '80'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: large
|
||||
image: 192.168.100.49:30002/dev/imes-basic-dashboard:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: dashboard
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
90
v2/imes-basic-iep-pms.yaml
Normal file
90
v2/imes-basic-iep-pms.yaml
Normal file
@ -0,0 +1,90 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-iep-pms
|
||||
name: imes-basic-iep-pms
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-iep-pms
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/restartedAt: '2026-05-09T01:38:12+08:00'
|
||||
labels:
|
||||
app: imes-basic-iep-pms
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: large
|
||||
image: 192.168.100.49:30002/dev/imes-basic-iep-pms:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: iep-pms
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
86
v2/imes-basic-mom-auth.yaml
Normal file
86
v2/imes-basic-mom-auth.yaml
Normal file
@ -0,0 +1,86 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-auth
|
||||
name: imes-basic-mom-auth
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-auth
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-auth
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '3000'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-auth:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-auth
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
84
v2/imes-basic-mom-codegen.yaml
Normal file
84
v2/imes-basic-mom-codegen.yaml
Normal file
@ -0,0 +1,84 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-codegen
|
||||
name: imes-basic-mom-codegen
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-codegen
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/restartedAt: '2026-05-09T01:38:12+08:00'
|
||||
labels:
|
||||
app: imes-basic-mom-codegen
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '5003'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: large
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-codegen:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-codegen
|
||||
ports:
|
||||
- containerPort: 5003
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
88
v2/imes-basic-mom-gateway.yaml
Normal file
88
v2/imes-basic-mom-gateway.yaml
Normal file
@ -0,0 +1,88 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-gateway
|
||||
name: imes-basic-mom-gateway
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 3
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-gateway
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/restartedAt: '2026-05-09T01:36:15+08:00'
|
||||
labels:
|
||||
app: imes-basic-mom-gateway
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '9999'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-gateway:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-gateway
|
||||
ports:
|
||||
- containerPort: 9999
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
80
v2/imes-basic-mom-monitor.yaml
Normal file
80
v2/imes-basic-mom-monitor.yaml
Normal file
@ -0,0 +1,80 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-monitor
|
||||
name: imes-basic-mom-monitor
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-monitor
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-monitor
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '5001'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-monitor:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-monitor
|
||||
ports:
|
||||
- containerPort: 5001
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
86
v2/imes-basic-mom-register.yaml
Normal file
86
v2/imes-basic-mom-register.yaml
Normal file
@ -0,0 +1,86 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-register
|
||||
name: imes-basic-mom-register
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-register
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-register
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '8848'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: MYSQL_USER
|
||||
value: wip
|
||||
- name: MYSQL_PORT
|
||||
value: '4006'
|
||||
- name: MYSQL_PWD
|
||||
value: Sap12345
|
||||
- name: MYSQL_DB
|
||||
value: nacos
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-register:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-register
|
||||
ports:
|
||||
- containerPort: 8848
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
88
v2/imes-basic-mom-upms-biz.yaml
Normal file
88
v2/imes-basic-mom-upms-biz.yaml
Normal file
@ -0,0 +1,88 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-upms-biz
|
||||
name: imes-basic-mom-upms-biz
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-upms-biz
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-upms-biz
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '4000'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: SPRING_PROFILES_ACTIVE
|
||||
value: dev
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-upms-biz:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-upms-biz
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
86
v2/imes-basic-mom-xxl-job.yaml
Normal file
86
v2/imes-basic-mom-xxl-job.yaml
Normal file
@ -0,0 +1,86 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-xxl-job
|
||||
name: imes-basic-mom-xxl-job
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-mom-xxl-job
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-mom-xxl-job
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '9080'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: XXL_JOB_HOST
|
||||
value: grd5643e
|
||||
- name: XXL_JOB_PORT
|
||||
value: '9080'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: large
|
||||
image: 192.168.100.49:30002/dev/imes-basic-mom-xxl-job:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-xxl-job
|
||||
ports:
|
||||
- containerPort: 9080
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
76
v2/imes-basic-seata-server.yaml
Normal file
76
v2/imes-basic-seata-server.yaml
Normal file
@ -0,0 +1,76 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-seata-server
|
||||
name: imes-basic-seata-server
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-basic-seata-server
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-basic-seata-server
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '8091'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-basic-seata-server:20260129124349
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: seata-server
|
||||
ports:
|
||||
- containerPort: 8091
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
84
v2/imes-custom-iep-alm.yaml
Normal file
84
v2/imes-custom-iep-alm.yaml
Normal file
@ -0,0 +1,84 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-iep-alm
|
||||
name: imes-custom-iep-alm
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-iep-alm
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-iep-alm
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: large
|
||||
image: 192.168.100.49:30002/dev/imes-basic-iep-alm:20241125143725
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: iep-alm
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
94
v2/imes-custom-mom-pms.yaml
Normal file
94
v2/imes-custom-mom-pms.yaml
Normal file
@ -0,0 +1,94 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-mom-pms
|
||||
name: imes-custom-mom-pms
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-mom-pms
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-mom-pms
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '6076'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: XXL_JOB_HOST
|
||||
value: grd5643e
|
||||
- name: XXL_JOB_PORT
|
||||
value: '9080'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: CUSTOM_MEMORY_SIZE
|
||||
value: '3072'
|
||||
image: 192.168.100.49:30002/dev/imes-custom-mom-pms:20251117153229
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-pms
|
||||
ports:
|
||||
- containerPort: 6076
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 3Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
95
v2/imes-custom-mom-wms.yaml
Normal file
95
v2/imes-custom-mom-wms.yaml
Normal file
@ -0,0 +1,95 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-mom-wms
|
||||
name: imes-custom-mom-wms
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-mom-wms
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-mom-wms
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- env:
|
||||
- name: PORT
|
||||
value: '5000'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: XXL_JOB_HOST
|
||||
value: imes-basic-mom-xxl-job
|
||||
- name: XXL_JOB_PORT
|
||||
value: '9080'
|
||||
- name: MYSQL_DB
|
||||
value: wms
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: MYSQL_PORT
|
||||
value: '4006'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: _JAVA_OPTIONS
|
||||
value: "-Xms512m -Xmx2g -Xss512k -XX:MaxDirectMemorySize=256m -Dfile.encoding=UTF-8"
|
||||
image: 192.168.100.49:30002/dev/imes-custom-mom-wms:20260522082842
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: mom-wms
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
96
v2/imes-custom-nalinv-int.yaml
Normal file
96
v2/imes-custom-nalinv-int.yaml
Normal file
@ -0,0 +1,96 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-int
|
||||
name: imes-custom-nalinv-int
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-int
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-int
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- env:
|
||||
- name: PORT
|
||||
value: "6071"
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: "8091"
|
||||
- name: XXL_JOB_HOST
|
||||
value: grd5643e
|
||||
- name: XXL_JOB_PORT
|
||||
value: "9080"
|
||||
- name: GR2740169999_HOST
|
||||
value: mom-gateway
|
||||
- name: GR2740169999_PORT
|
||||
value: "9999"
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: NACOS_HOST
|
||||
value: mom-register
|
||||
- name: NACOS_PORT
|
||||
value: "8848"
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: "6379"
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
- name: _JAVA_OPTIONS
|
||||
value: "-Xms512m -Xmx2g -Xss512k -XX:MaxDirectMemorySize=256m -Dfile.encoding=UTF-8"
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-int:20260522083655
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-int
|
||||
ports:
|
||||
- containerPort: 6071
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
114
v2/imes-custom-nalinv-mes.yaml
Normal file
114
v2/imes-custom-nalinv-mes.yaml
Normal file
@ -0,0 +1,114 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-mes
|
||||
name: imes-custom-nalinv-mes
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-mes
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-mes
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- command:
|
||||
- java
|
||||
- -Xms512m
|
||||
- -Xmx3g
|
||||
- -Xss512k
|
||||
- -XX:MaxDirectMemorySize=256m
|
||||
- -Dfile.encoding=UTF-8
|
||||
- -Djava.security.egd=file:/dev/./urandom
|
||||
- -jar
|
||||
- iep-app.jar
|
||||
env:
|
||||
- name: PORT
|
||||
value: '5000'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 4xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-mes:20260520164924
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-mes
|
||||
ports:
|
||||
- containerPort: 6060
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-mes
|
||||
name: imes-custom-nalinv-mes
|
||||
namespace: dev
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: imes-custom-nalinv-mes
|
||||
ports:
|
||||
- name: http
|
||||
port: 5000
|
||||
protocol: TCP
|
||||
targetPort: 6060
|
||||
nodePort: 32533
|
||||
76
v2/imes-custom-nalinv-mobile.yaml
Normal file
76
v2/imes-custom-nalinv-mobile.yaml
Normal file
@ -0,0 +1,76 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-mobile
|
||||
name: imes-custom-nalinv-mobile
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-mobile
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-mobile
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '80'
|
||||
- name: GR2740169999_HOST
|
||||
value: mom-gateway
|
||||
- name: GR2740169999_PORT
|
||||
value: '9999'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-mobile:20260522084034
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-mobile
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
90
v2/imes-custom-nalinv-print.yaml
Normal file
90
v2/imes-custom-nalinv-print.yaml
Normal file
@ -0,0 +1,90 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-print
|
||||
name: imes-custom-nalinv-print
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-print
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/restartedAt: '2026-05-09T01:38:12+08:00'
|
||||
labels:
|
||||
app: imes-custom-nalinv-print
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: 2xlarge
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-print:20251219105432
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-print
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 2Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
91
v2/imes-custom-nalinv-qms.yaml
Normal file
91
v2/imes-custom-nalinv-qms.yaml
Normal file
@ -0,0 +1,91 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-qms
|
||||
name: imes-custom-nalinv-qms
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-qms
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
kubectl.kubernetes.io/restartedAt: '2026-05-09T01:38:12+08:00'
|
||||
labels:
|
||||
app: imes-custom-nalinv-qms
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- env:
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: XXL_JOB_HOST
|
||||
value: grd5643e
|
||||
- name: XXL_JOB_PORT
|
||||
value: '9080'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: MEMORY_SIZE
|
||||
value: large
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-qms:20251113135437
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-qms
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
88
v2/imes-custom-nalinv-tds.yaml
Normal file
88
v2/imes-custom-nalinv-tds.yaml
Normal file
@ -0,0 +1,88 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-tds
|
||||
name: imes-custom-nalinv-tds
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-tds
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-tds
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- args:
|
||||
- start
|
||||
- web
|
||||
env:
|
||||
- name: PORT
|
||||
value: '5000'
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: MYSQL_PORT
|
||||
value: '4006'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: CUSTOM_MEMORY_SIZE
|
||||
value: '3072'
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-tds:20251105162944
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-tds
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 3Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
112
v2/imes-custom-nalinv-wms.yaml
Normal file
112
v2/imes-custom-nalinv-wms.yaml
Normal file
@ -0,0 +1,112 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-wms
|
||||
name: imes-custom-nalinv-wms
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nalinv-wms
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-wms
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- env:
|
||||
- name: _JAVA_OPTIONS
|
||||
value: "-Xms512m -Xmx3g -Xss512k -XX:MaxDirectMemorySize=256m -Dfile.encoding=UTF-8"
|
||||
- name: GR05A18C8848_HOST
|
||||
value: mom-register
|
||||
- name: GR05A18C8848_PORT
|
||||
value: '8848'
|
||||
- name: REDIS_HOST
|
||||
value: mom-redis
|
||||
- name: REDIS_PORT
|
||||
value: '6379'
|
||||
- name: GR6F9FF28091_HOST
|
||||
value: mom-seata
|
||||
- name: GR6F9FF28091_PORT
|
||||
value: '8091'
|
||||
- name: MYSQL_HOST
|
||||
value: 192.168.100.8
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
- name: SPRING_DATASOURCE_URL
|
||||
value: jdbc:mysql://192.168.100.8:4006/wms?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||
- name: MYSQL_USER
|
||||
value: wip
|
||||
- name: MYSQL_PWD
|
||||
value: Sap12345
|
||||
- name: MYSQL_DB
|
||||
value: wip
|
||||
- name: SPRING_PROFILES_ACTIVE
|
||||
value: dev
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nalinv-wms:20260514164142
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nalinv-wms
|
||||
ports:
|
||||
- containerPort: 6067
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
requests:
|
||||
memory: 256Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nalinv-wms
|
||||
name: imes-custom-nalinv-wms
|
||||
namespace: dev
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: imes-custom-nalinv-wms
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 6067
|
||||
nodePort: 30812
|
||||
73
v2/imes-custom-nlv-ui.yaml
Normal file
73
v2/imes-custom-nlv-ui.yaml
Normal file
@ -0,0 +1,73 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nlv-ui
|
||||
name: imes-custom-nlv-ui
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-nlv-ui
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-nlv-ui
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- env:
|
||||
- name: PORT
|
||||
value: '80'
|
||||
- name: GR2740169999_HOST
|
||||
value: mom-gateway
|
||||
- name: GR2740169999_PORT
|
||||
value: '9999'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
image: 192.168.100.49:30002/dev/imes-custom-nlv-ui:20260522085030
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nlv-ui
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 2Gi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
79
v2/imes-custom-stirling.yaml
Normal file
79
v2/imes-custom-stirling.yaml
Normal file
@ -0,0 +1,79 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-stirling
|
||||
name: imes-custom-stirling
|
||||
namespace: dev
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: imes-custom-stirling
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: imes-custom-stirling
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- amd64
|
||||
containers:
|
||||
- env:
|
||||
- name: PORT
|
||||
value: '8080'
|
||||
- name: DOCKER_ENABLE_SECURITY
|
||||
value: 'false'
|
||||
- name: INSTALL_BOOK_AND_ADVANCED_HTML_OPS
|
||||
value: 'false'
|
||||
- name: LANGS
|
||||
value: zh_CN
|
||||
- name: GR5A3FDF8080_HOST
|
||||
value: gr7db1ca
|
||||
- name: GR5A3FDF8080_PORT
|
||||
value: '8080'
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.hostIP
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: status.podIP
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: metadata.name
|
||||
image: 192.168.100.49:30002/dev/imes-custom-stirling:20241211172132
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: stirling
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 10
|
||||
|
||||
Loading…
Reference in New Issue
Block a user