Skip to content

Commit

Permalink
make storage size parametrizable
Browse files Browse the repository at this point in the history
My immediate need is to deploy an archive node; I need 300Gi of storage.
  • Loading branch information
nicolasochem committed Mar 29, 2021
1 parent 7e53c1b commit c24fb6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/tezos/templates/baker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: "15Gi"
storage: {{ .Values.baker_statefulset.storage_size }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/tezos/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: "15Gi"
storage: {{ .Values.regular_node_statefulset.storage_size }}
2 changes: 2 additions & 0 deletions charts/tezos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ tezos_k8s_images:
baker_statefulset: # charts/tezos/templates/baker.yaml
name: tezos-baking-node
node_type: baking
storage_size: 15Gi
regular_node_statefulset: # charts/tezos/templates/node.yaml
name: tezos-node
node_type: regular
storage_size: 15Gi

# For non-public chains the defualt mutez given to an account if the
# account is not explicitly set below.
Expand Down

0 comments on commit c24fb6f

Please sign in to comment.