Skip to content

Commit

Permalink
Reduce resource requirements (#28)
Browse files Browse the repository at this point in the history
reduce resource requirements, remove celestia from chat startup
  • Loading branch information
jbowen93 authored Feb 12, 2025
1 parent 3a82ea6 commit 4ff766b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/deploy.just
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ deploy-novm-chat-rollup:
delete-astria-chat:
@just delete chart astria-chat

deploy-astria-local namespace=defaultNamespace: (helm-add-if-not-exist "astria" "https://astriaorg.github.io/charts/")(deploy-celestia-local namespace) (deploy-sequencer)
delete-astria-local namespace=defaultNamespace: (delete-chart "celestia-local" namespace) (delete-sequencer)
deploy-astria-local namespace=defaultNamespace: (helm-add-if-not-exist "astria" "https://astriaorg.github.io/charts/") (deploy-sequencer)
delete-astria-local namespace=defaultNamespace: (delete-sequencer)

deploy-astria-chat namespace=defaultNamespace: (deploy-cluster) (deploy-ingress-controller) (wait-for-ingress-controller) (deploy-astria-local) (install-frontend) (build-and-load-frontend) (deploy-novm-chat-rollup) (wait-for-astria-chat)

Expand Down
12 changes: 9 additions & 3 deletions dev/values/rollup/chat-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config:
# - "SoftOnly" -> blocks are only pulled from the sequencer
# - "FirmOnly" -> blocks are only pulled from DA
# - "SoftAndFirm" -> blocks are pulled from both the sequencer and DA
executionCommitLevel: 'SoftAndFirm'
executionCommitLevel: 'SoftOnly'
# The expected fastest block time possible from sequencer, determines polling
# rate.
sequencerBlockTimeMs: 2000
Expand All @@ -37,11 +37,18 @@ config:
resources:
conductor:
requests:
cpu: 1
cpu: 100m
memory: 100Mi
limits:
cpu: 2
memory: 500Mi
chat:
requests:
cpu: 250m
memory: 256Mi
limits:
cpu: 2
memory: 1Gi

storage:
enabled: false
Expand All @@ -67,4 +74,3 @@ composer:
filename: "key.hex"
resourceName: "projects/$PROJECT_ID/secrets/sequencerPrivateKey/versions/latest"
rollups: []

0 comments on commit 4ff766b

Please sign in to comment.