# Written by Mutlu Polatcan
# 17.12.2019
# --------------------------
apiVersion: apps/v1
kind: Deployment
metadata:
  name: redis
  labels:
    app: airflow
    unit: broker
spec:
  replicas: 1
  selector:
    matchLabels:
      app: airflow
      unit: broker
  template:
    metadata:
      name: redis
      labels:
        app: airflow
        unit: broker
    spec:
      hostname: redis
      containers:
        - name: redis
          image: redis
          imagePullPolicy: Always
          ports:
            - containerPort: 6379
      restartPolicy: Always
