Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions kubernetes/linera-validator/templates/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ spec:
--storage scylladb:tcp:scylla-client.scylla.svc.cluster.local:9042 \
--storage-replication-factor {{ .Values.storageReplicationFactor | quote }} \
--id "$ORDINAL" \
{{- if .Values.blobCacheSize }}
--blob-cache-size {{ .Values.blobCacheSize }} \
{{- end }}
{{- if .Values.certificateCacheSize }}
--certificate-cache-size {{ .Values.certificateCacheSize }} \
{{- end }}
{{- if .Values.confirmedBlockCacheSize }}
--confirmed-block-cache-size {{ .Values.confirmedBlockCacheSize }} \
{{- end }}
/config/server.json
env:
- name: RUST_LOG
Expand Down
9 changes: 9 additions & 0 deletions kubernetes/linera-validator/templates/shards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ spec:
{{- if .Values.notificationQueueSize }}
--notification-queue-size {{ .Values.notificationQueueSize }}
{{- end }}
{{- if .Values.blobCacheSize }}
--blob-cache-size {{ .Values.blobCacheSize }}
{{- end }}
{{- if .Values.certificateCacheSize }}
--certificate-cache-size {{ .Values.certificateCacheSize }}
{{- end }}
{{- if .Values.confirmedBlockCacheSize }}
--confirmed-block-cache-size {{ .Values.confirmedBlockCacheSize }}
{{- end }}
env:
- name: RUST_LOG
value: {{ .Values.logLevel }}
Expand Down
5 changes: 5 additions & 0 deletions kubernetes/linera-validator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ crossChainQueueSize: ""
# Set to empty string to use default
notificationQueueSize: ""

# Application-level cache sizes (default in binary is 1000)
blobCacheSize: ""
certificateCacheSize: ""
confirmedBlockCacheSize: ""

# ============================================================================
# Storage Configuration
# ============================================================================
Expand Down
Loading