Skip to content

Commit

Permalink
Assign 30GB of space for etcd by default and turn on auto-compaction (#…
Browse files Browse the repository at this point in the history
…27)

Signed-off-by: Eamonn Mansour <[email protected]>
  • Loading branch information
eamansour authored May 31, 2024
1 parent 8193650 commit 9ece967
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/ecosystem/templates/etcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ spec:
--initial-cluster ${PEERS} \
--initial-cluster-state new \
--data-dir /var/run/etcd/default.etcd
# Turn on automatic compaction
exec etcd --auto-compaction-retention={{ .Values.etcdHistoryRetention }}
volumeClaimTemplates:
- metadata:
name: data
Expand Down
7 changes: 6 additions & 1 deletion charts/ecosystem/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,14 @@ nodeSelectors: {}
storageClass: ""
#
#
# The number of hours worth of etcd history to retain when etcd is compacted
#
etcdHistoryRetention: 10
#
#
# The size of the persistent volumes for the data stores
#
etcdDiskSize: "1Gi"
etcdDiskSize: "30Gi"
couchdbDiskSize: "10Gi"
catalogDiskSize: "1Gi"
#
Expand Down

0 comments on commit 9ece967

Please sign in to comment.