apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert
    kompose.version: 1.22.0 (955b78124)

  labels:
    io.kompose.service: mo2search
  name: mo2search
  namespace: mo2
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: mo2search
  strategy:
    type: RollingUpdate
  template:
    metadata:
      annotations:
        kompose.cmd: kompose convert
        kompose.version: 1.22.0 (955b78124)

      labels:
        io.kompose.service: mo2search
    spec:
      containers:
        - image: registry.cn-hangzhou.aliyuncs.com/mo2/mo2search:latest
          name: mo2search
          ports:
            - containerPort: 5097
          resources:
            limits:
              cpu: 100m
              memory: 1000Mi
            requests: 
              cpu: 100m
              memory: 100Mi
          volumeMounts:
            - mountPath: /app/.bleve
              name: mo2search-claim0
      restartPolicy: Always
      volumes:
        - name: mo2search-claim0
          persistentVolumeClaim:
            claimName: mo2search-claim0
status: {}
