apiVersion: v1
kind: ReplicationController
metadata:
  name: redis
spec:
  replicas: 1
  selector:
    provider: redis
  template:
    metadata:
      labels:
        app: redis
        provider: redis
    spec:
      containers:
      - name: redis
        image: redis:latest
        ports:
        - containerPort: 6379
        volumeMounts:
        - mountPath: /data
          name: data
      volumes:
      - name: data
        awsElasticBlockStore:
          volumeID: "vol-a3677939"
          fsType: ext4
