追加 logistics server
This commit is contained in:
@@ -360,3 +360,67 @@ spec:
|
||||
- protocol: TCP
|
||||
port: 48100
|
||||
targetPort: 48100
|
||||
---
|
||||
# logistics-server
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
||||
name: logistics-server
|
||||
labels:
|
||||
app: logistics-server
|
||||
annotations:
|
||||
version: "VERSION_PLACEHOLDER"
|
||||
description: DESC_PLACEHOLDER
|
||||
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: logistics-server
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: logistics-server
|
||||
spec:
|
||||
containers:
|
||||
- name: logistics-server
|
||||
image: 172.16.46.66:10043/yudao/logistics-server:VERSION_PLACEHOLDER
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: TZ
|
||||
value: Asia/Shanghai
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health
|
||||
port: 48101
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
failureThreshold: 3
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health
|
||||
port: 48101
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
failureThreshold: 5
|
||||
terminationGracePeriodSeconds: 30
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
||||
name: logistics-server
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: logistics-server
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 48101
|
||||
targetPort: 48101
|
||||
Reference in New Issue
Block a user