---
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: comment
    labels:
      app: reddit
      component: comment
  spec:
    replicas: 3
    selector:
      matchLabels:
        app: reddit
        component: comment
    template:
      metadata:
        name: comment
        labels:
          app: reddit
          component: comment
      spec:
        containers:
        - image: ilyafedotov/comment
          name: comment
          env:
            - name: COMMENT_DATABASE_HOST
              value: comment-db
