Skip to content

Commit

Permalink
[DEVOPS-785] Reorganize example yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Chana committed Jul 18, 2018
1 parent 4bf125e commit f6810ee
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ spec:
exporter: false # Optional. False by default. Adds a redis-exporter container to export metrics.
exporterImage: oliver006/redis_exporter # Optional. oliver006/redis_exporter by default.
exporterVersion: v0.11.3 # Optional. v0.11.3 by default.
dataVolume:
name: redis-data
emptyDir: {}
storage:
emptyDir: {} # Optional. emptyDir by default.

File renamed without changes.
21 changes: 21 additions & 0 deletions example/redisfailover/persistant-storage-no-pvc-deletion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: storage.spotahome.com/v1alpha2
kind: RedisFailover
metadata:
name: redisfailover-persistant-keep
spec:
sentinel:
replicas: 3
redis:
replicas: 3
storage:
keepAfterDeletion: true
persistentVolumeClaim:
metadata:
name: redisfailover-persistant-keep-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

20 changes: 20 additions & 0 deletions example/redisfailover/persistant-storage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: storage.spotahome.com/v1alpha2
kind: RedisFailover
metadata:
name: redisfailover-persistant
spec:
sentinel:
replicas: 3
redis:
replicas: 3
storage:
persistentVolumeClaim:
metadata:
name: redisfailover-persistant-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

0 comments on commit f6810ee

Please sign in to comment.