---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: ui
  labels:
    app: search_engine
    component: ui
spec:
  replicas: 3
  selector:
    matchLabels:
      app: search_engine
      component: ui
  template:
    metadata:
      name: ui-pod
      labels:
        app: search_engine
        component: ui
    spec:
      containers:
      - image: gogen120/crawler-ui:latest
        name: ui
        env:
        - name: MONGO
          value: mongodb
        - name: MONGO_PORT
          value: "27017"
