You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
annotations: {}
labels:
app/name: wehcat-gateway
name: wehcat-gateway
namespace: sre
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app/name: wehcat-gateway
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app/name: wehcat-gateway
spec:
containers:
- image: 'sre/wechatgateway:arm64'
imagePullPolicy: IfNotPresent
name: wehcat-gateway
ports:
- containerPort: 8080
name: http
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /app/data
name: volume-x6hei
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /data/wx-data
type: Directory
name: volume-x6hei