2026-05-25 03:25:02 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: imes-custom-nlv-ui
|
|
|
|
|
name: imes-custom-nlv-ui
|
2026-05-25 03:26:52 +00:00
|
|
|
namespace: prd
|
2026-05-25 03:25:02 +00:00
|
|
|
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
|
2026-05-25 03:26:52 +00:00
|
|
|
image: 192.168.100.49:30002/prd/imes-custom-nlv-ui:20260522085030
|
2026-05-25 03:25:02 +00:00
|
|
|
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
|
|
|
|
|
|