Skip to content

Commit

Permalink
improvement: safer storage defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Salim committed Sep 22, 2018
1 parent d98a5b5 commit d1adaef
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
8 changes: 8 additions & 0 deletions kubernetes/single-node-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ cloudserver:
mongodb:
replicas: *nodeCount

s3-data:
persistentVolume:
size: 10Gi

backbeat:
replication:
dataProcessor:
Expand Down Expand Up @@ -69,6 +73,8 @@ zenko-queue:
- name: backbeat-sanitycheck
partitions: *nodeCount
replicationFactor: 1
persistence:
size: 5Gi

zenko-quorum:
replicaCount: *nodeCount
Expand All @@ -78,6 +84,8 @@ zenko-quorum:
mongodb-replicaset:
replicaSet: rs0
replicas: *nodeCount
persistentVolume:
size: 10Gi

redis-ha:
replicas: *nodeCount
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/zenko/charts/s3-data/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ persistentVolume:
- ReadWriteOnce
annotations: {}
existingClaim: ""
size: 10Gi
size: 90Gi
# storageClass: "-"
allowHealthchecksFrom: '0.0.0.0/0'

Expand Down
6 changes: 3 additions & 3 deletions kubernetes/zenko/storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mongodb-replicaset:
##
accessModes:
- ReadWriteOnce
size: 10Gi
size: 50Gi
annotations: {}

prometheus:
Expand Down Expand Up @@ -76,7 +76,7 @@ s3-data:
- ReadWriteOnce
annotations: {}
existingClaim: ""
size: 10Gi
size: 90Gi
storageClass: null

zenko-queue:
Expand All @@ -90,7 +90,7 @@ zenko-queue:
## The size of the PersistentVolume to allocate to each Kafka Pod in the
## StatefulSet. For production servers this should be much larger.
##
size: "1Gi"
size: 20Gi
## The location within the Kafka container where the PV will mount its
## storage and Kafka will store its logs.
##
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/zenko/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ mongodb-replicaset:
runAsUser: 1000
fsGroup: 1000
runAsNonRoot: true
persistentVolume:
size: 50Gi

zenko-queue:
## Extensive list of configurables can be found here:
Expand Down Expand Up @@ -150,6 +152,8 @@ zenko-queue:
- name: backbeat-sanitycheck
partitions: 1
replicationFactor: 3
persistence:
size: 20Gi

zenko-quorum:
## Extensive list of configurables can be found here:
Expand Down

0 comments on commit d1adaef

Please sign in to comment.