apiVersion: v1
kind: Pod
metadata:
  labels:
    replication-controller: data-redis-server-v000
    replication-controller-prime: data-redis-sentinel-v000
    load-balancer-data-redis-sentinel: "true"
  name: data-redis-master-v000-init
  namespace: spinnaker
spec:
  containers:
    - name: master
      image: gcr.io/kubernetes-spinnaker/redis-cluster:v2
      env:
        - name: MASTER
          value: "true"
      ports:
        - containerPort: 6379
      resources:
        limits:
          cpu: "0.1"
      volumeMounts:
        - mountPath: /redis-master-data
          name: data
    - name: sentinel
      image: gcr.io/kubernetes-spinnaker/redis-cluster:v2
      env:
        - name: SENTINEL
          value: "true"
      ports:
        - containerPort: 26379
  volumes:
    - name: data
      emptyDir: {}
