aboutsummaryrefslogtreecommitdiff
path: root/contrib/demos/magnum/redis-kube/redis-controller.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/demos/magnum/redis-kube/redis-controller.yaml')
-rw-r--r--contrib/demos/magnum/redis-kube/redis-controller.yaml28
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/demos/magnum/redis-kube/redis-controller.yaml b/contrib/demos/magnum/redis-kube/redis-controller.yaml
index 11332e3d4..28efd3196 100644
--- a/contrib/demos/magnum/redis-kube/redis-controller.yaml
+++ b/contrib/demos/magnum/redis-kube/redis-controller.yaml
@@ -4,7 +4,7 @@ kind: ReplicationController
metadata:
name: redis
spec:
- replicas: 2
+ replicas: 2
selector:
name: redis
template:
@@ -13,16 +13,16 @@ spec:
name: redis
spec:
containers:
- - name: redis
- image: kubernetes/redis:v1
- ports:
- - containerPort: 6379
- resources:
- limits:
- cpu: "1"
- volumeMounts:
- - mountPath: /redis-master-data
- name: data
- volumes:
- - name: data
- emptyDir: {}
+ - name: redis
+ image: kubernetes/redis:v1
+ ports:
+ - containerPort: 6379
+ resources:
+ limits:
+ cpu: "1"
+ volumeMounts:
+ - mountPath: /redis-master-data
+ name: data
+ volumes:
+ - name: data
+ emptyDir: {}