apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert
    kompose.version: 1.22.0 (955b78124)
  labels:
    io.kompose.service: mall-portal
  name: mall-portal
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: mall-portal
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        kompose.cmd: kompose convert
        kompose.version: 1.22.0 (955b78124)
      labels:
        io.kompose.service: mall-portal
    spec:
      containers:
        - env:
            - name: JAVA_OPTS
              value: -Xms512m -Xmx512m
            - name: TZ
              value: '"Asia/Shanghai"'
          image: mall/mall-portal:1.5-SNAPSHOT
          name: mall-portal
          ports:
            - containerPort: 8085
          resources: {}
          volumeMounts:
            - mountPath: /var/logs
              name: mall-portal-claim0
      restartPolicy: Always
      volumes:
        - name: mall-portal-claim0
          persistentVolumeClaim:
            claimName: mall-portal-claim0
