Skip to content

Commit

Permalink
annotation to keep autoscaler from evicting ingest. set ledger exceed…
Browse files Browse the repository at this point in the history
…BlockHeightBy (#3964)
  • Loading branch information
jgreat authored Apr 16, 2024
1 parent ed1d458 commit eb7949b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .internal-ci/helm/fog-ingest/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ fogIngest:
fluentbit.io/exclude-jaeger-agent: 'true'
# This is the container name that needs to use sgx resources
sgx.intel.com/quote-provider: fog-ingest
cluster-autoscaler.kubernetes.io/safe-to-evict: 'false'

### Intel SGX extended resources are defined with: https://github.com/sebva/sgx-device-plugin
resources:
Expand Down
6 changes: 3 additions & 3 deletions .internal-ci/helm/fog-ledger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fogLedger:
# Assume default is a dev network. We can always define a "network" value if needed.
default:
shardSize: 20_000
exceedBlockHeightBy: 0
exceedBlockHeightBy: 5_000
shardOverlap: 0
count: 2
blockHeightRetrieval:
Expand All @@ -28,7 +28,7 @@ fogLedger:
requestBody: ''
test:
shardSize: 400_000
exceedBlockHeightBy: 0
exceedBlockHeightBy: 10_000
shardOverlap: 0
count: 2
blockHeightRetrieval:
Expand All @@ -38,7 +38,7 @@ fogLedger:
requestBody: ''
main:
shardSize: 400_000
exceedBlockHeightBy: 0
exceedBlockHeightBy: 10_000
shardOverlap: 0
count: 3
blockHeightRetrieval:
Expand Down

0 comments on commit eb7949b

Please sign in to comment.