Skip to content

Commit

Permalink
ci: adjust storage requests
Browse files Browse the repository at this point in the history
Makes two changes to the PVCs:

  * preview 50G -> 20G
  * testnet 200G -> 300G

We don't need 50GB of storage per node on preview. That's >2 weeks
runtime, and we've never gone >2 weeks without deploying to preview.
For testnet, though, we grow the storage requests: 200GB is roughly ten
weeks, and we're approaching full utilization on Testnet 64 already.

We can still adjust these storage requests over time, but updating them
now to reflect our expectations.
  • Loading branch information
conorsch committed Jan 29, 2024
1 parent 0e38c2f commit aee0139
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 34 deletions.
6 changes: 3 additions & 3 deletions deployments/helmfile.d/penumbra-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ releases:
values:
- persistence:
enabled: true
size: 50G
size: 20G
- preserve_lb_svc: true
- only_lb_svc: false
- image:
Expand Down Expand Up @@ -37,7 +37,7 @@ releases:
- penumbra_bootstrap_node_cometbft_rpc_url: "http://penumbra-preview-val-0:26657"
- persistence:
enabled: true
size: 50G
size: 20G
- part_of: penumbra-preview
# Node config info, including ip address, monikers, and seed-mode status.
- vars/penumbra-preview-nodes-ips.yml
Expand Down Expand Up @@ -78,7 +78,7 @@ releases:
tag: main
- persistence:
enabled: true
size: 50G
size: 20G
- cometbft:
config:
indexer: psql
Expand Down
29 changes: 0 additions & 29 deletions deployments/helmfile.d/penumbra-testnet-cuiloa.yaml

This file was deleted.

27 changes: 25 additions & 2 deletions deployments/helmfile.d/penumbra-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ releases:
values:
- persistence:
enabled: true
size: 200G
size: 300G
- preserve_lb_svc: true
- only_lb_svc: false
- image:
Expand Down Expand Up @@ -38,7 +38,7 @@ releases:
- penumbra_bootstrap_node_cometbft_rpc_url: "http://penumbra-testnet-val-0:26657"
- persistence:
enabled: true
size: 200G
size: 300G
- part_of: penumbra-testnet
# Node config info, including ip address, monikers, and seed-mode status.
- vars/penumbra-testnet-nodes-ips.yml
Expand All @@ -63,3 +63,26 @@ releases:
- persistence:
enabled: true
size: 20G

- name: penumbra-testnet-cuiloa-node
chart: ../charts/penumbra-node
needs:
- penumbra-testnet
# It's not strictly necessary to wait for node deploys, but doing so allows us to exercise
# the public HTTPS RPC endpoint for joining, which is nice.
- penumbra-testnet-nodes
values:
- penumbra_bootstrap_node_cometbft_rpc_url: "https://rpc.testnet.penumbra.zone"
- ingressRoute:
enabled: false
- image:
tag: latest
- persistence:
enabled: true
size: 300G
- cometbft:
config:
indexer: psql
- part_of: penumbra-testnet
- nodes:
- moniker: cuiloa

0 comments on commit aee0139

Please sign in to comment.