Skip to content

Commit

Permalink
feat(node): new version v0.20.1-arabica-mocha (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
  • Loading branch information
tty47 authored Nov 7, 2024
1 parent 838da41 commit 8f169ff
Show file tree
Hide file tree
Showing 21 changed files with 1,534 additions and 17 deletions.
4 changes: 2 additions & 2 deletions charts/celestia-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
category: celestia
licenses: Apache-2.0
apiVersion: v2
appVersion: v0.20.0
appVersion: v0.20.1
dependencies:
- name: common-celestia-node
version: 0.1.1
Expand All @@ -24,4 +24,4 @@ maintainers:
name: celestia-node
sources:
- https://github.com/celestiaorg/helm-charts
version: 0.10.2
version: 0.10.3
23 changes: 9 additions & 14 deletions charts/celestia-node/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# celestia-node

![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![AppVersion: v0.17.0](https://img.shields.io/badge/AppVersion-v0.17.0-informational?style=flat-square)
![Version: 0.10.3](https://img.shields.io/badge/Version-0.10.3-informational?style=flat-square) ![AppVersion: v0.20.1](https://img.shields.io/badge/AppVersion-v0.20.1-informational?style=flat-square)

Celestia Node

Expand All @@ -10,16 +10,17 @@ Celestia Node

| Name | Email | Url |
| ---- | ------ | --- |
| Celestia Labs | | <https://github.com/celestiaorg/helm-charts> |
| Celestia Labs | | <https://github.com/celestiaorg> |

## Source Code

* <https://github.com/celestiaorg/celestia-node>
* <https://github.com/celestiaorg/helm-charts>

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://celestiaorg.github.io/helm-charts | common-celestia-node | 0.1.1 |
| oci://registry-1.docker.io/bitnamicharts | common | 2.x.x |

## Values
Expand Down Expand Up @@ -106,15 +107,13 @@ Celestia Node
| node.config.bridge.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | |
| node.config.bridge.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.bridge.configtoml.P2P.PeerExchange | bool | `true` | |
| node.config.bridge.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.bridge.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.bridge.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.bridge.configtoml.RPC.Port | string | `"26658"` | |
| node.config.bridge.configtoml.RPC.SkipAuth | bool | `false` | |
| node.config.bridge.configtoml.Share.BlockStoreCacheSize | int | `128` | |
| node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | |
| node.config.bridge.configtoml.Share.Discovery.PeersLimit | int | `5` | |
| node.config.bridge.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.bridge.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
| node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | |
Expand Down Expand Up @@ -182,15 +181,13 @@ Celestia Node
| node.config.full.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | |
| node.config.full.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.full.configtoml.P2P.PeerExchange | bool | `true` | |
| node.config.full.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.full.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.full.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.full.configtoml.RPC.Port | string | `"26658"` | |
| node.config.full.configtoml.RPC.SkipAuth | bool | `false` | |
| node.config.full.configtoml.Share.BlockStoreCacheSize | int | `128` | |
| node.config.full.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | |
| node.config.full.configtoml.Share.Discovery.PeersLimit | int | `5` | |
| node.config.full.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.full.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.full.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
| node.config.full.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | |
Expand Down Expand Up @@ -258,15 +255,13 @@ Celestia Node
| node.config.light.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | |
| node.config.light.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.light.configtoml.P2P.PeerExchange | bool | `false` | |
| node.config.light.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.light.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.light.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.light.configtoml.RPC.Port | string | `"26658"` | |
| node.config.light.configtoml.RPC.SkipAuth | bool | `false` | |
| node.config.light.configtoml.Share.BlockStoreCacheSize | int | `128` | |
| node.config.light.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | |
| node.config.light.configtoml.Share.Discovery.PeersLimit | int | `5` | |
| node.config.light.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.light.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.light.configtoml.Share.LightAvailability.SampleAmount | int | `16` | |
| node.config.light.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
Expand Down Expand Up @@ -319,11 +314,11 @@ Celestia Node
| node.extraVolumeMounts | list | `[]` | |
| node.extraVolumes | list | `[]` | |
| node.hostAliases | list | `[]` | |
| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.17.0"}` | image parameters for the image |
| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.20.0"}` | image parameters for the image |
| node.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image, IfNotPresent by default |
| node.image.registry | string | `"ghcr.io"` | registry for the image, GitHub Container Registry by default |
| node.image.repository | string | `"celestiaorg/celestia-node"` | repository for the image, celestiaorg/celestia-node by default |
| node.image.tag | string | `"v0.17.0"` | tag for the image, v0.18.1 by default |
| node.image.tag | string | `"v0.20.0"` | tag for the image, v0.18.1 by default |
| node.initContainers | list | `[]` | |
| node.lifecycleHooks | object | `{}` | |
| node.livenessProbe | object | `{"enabled":false,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | liveness probe for the node |
Expand Down
2 changes: 1 addition & 1 deletion charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ node:
# -- repository for the image, celestiaorg/celestia-node by default
repository: celestiaorg/celestia-node
# -- tag for the image, v0.18.1 by default
tag: v0.20.0
tag: v0.20.1
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
78 changes: 78 additions & 0 deletions scripts/config/node/bridge/v0.20.1-arabica/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
[Node]
StartupTimeout = "2m0s"
ShutdownTimeout = "2m0s"

[Core]
IP = ""
RPCPort = "26657"
GRPCPort = "9090"

[State]
DefaultKeyName = "my_celes_key"
DefaultBackendName = "test"

[P2P]
ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"]
AnnounceAddresses = []
NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"]
MutualPeers = []
PeerExchange = true
[P2P.ConnManager]
Low = 800
High = 1000
GracePeriod = "1m0s"

[RPC]
Address = "localhost"
Port = "26658"
SkipAuth = false

[Gateway]
Address = "localhost"
Port = "26659"
Enabled = false

[Share]
BlockStoreCacheSize = 128
UseShareExchange = true
[Share.EDSStoreParams]
RecentBlocksCacheSize = 10
[Share.ShrExEDSParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
BufferSize = 32768
[Share.ShrExNDParams]
ServerReadTimeout = "5s"
ServerWriteTimeout = "1m0s"
HandleRequestTimeout = "1m0s"
ConcurrencyLimit = 10
[Share.PeerManagerParams]
PoolValidationTimeout = "2m0s"
PeerCooldown = "3s"
GcInterval = "30s"
EnableBlackListing = false
[Share.Discovery]
PeersLimit = 5
AdvertiseInterval = "1h0m0s"

[Header]
TrustedHash = ""
TrustedPeers = []
[Header.Store]
StoreCacheSize = 4096
IndexCacheSize = 16384
WriteBatchSize = 2048
[Header.Syncer]
TrustingPeriod = "336h0m0s"
[Header.Server]
WriteDeadline = "8s"
ReadDeadline = "1m0s"
RangeRequestTimeout = "10s"
[Header.Client]
MaxHeadersPerRangeRequest = 64
RangeRequestTimeout = "8s"

[Pruner]
EnableService = false
90 changes: 90 additions & 0 deletions scripts/config/node/bridge/v0.20.1-arabica/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
Node:
StartupTimeout: 2m0s
ShutdownTimeout: 2m0s
Core:
IP: ""
RPCPort: "26657"
GRPCPort: "9090"
State:
DefaultKeyName: my_celes_key
DefaultBackendName: test
P2P:
ListenAddresses:
- /ip4/0.0.0.0/udp/2121/quic-v1/webtransport
- /ip6/::/udp/2121/quic-v1/webtransport
- /ip4/0.0.0.0/udp/2121/quic-v1
- /ip6/::/udp/2121/quic-v1
- /ip4/0.0.0.0/udp/2121/webrtc-direct
- /ip6/::/udp/2121/webrtc-direct
- /ip4/0.0.0.0/tcp/2121
- /ip6/::/tcp/2121
AnnounceAddresses: []
NoAnnounceAddresses:
- /ip4/127.0.0.1/udp/2121/quic-v1/webtransport
- /ip4/0.0.0.0/udp/2121/quic-v1/webtransport
- /ip6/::/udp/2121/quic-v1/webtransport
- /ip4/0.0.0.0/udp/2121/quic-v1
- /ip4/127.0.0.1/udp/2121/quic-v1
- /ip6/::/udp/2121/quic-v1
- /ip4/0.0.0.0/udp/2121/webrtc-direct
- /ip4/127.0.0.1/udp/2121/webrtc-direct
- /ip6/::/udp/2121/webrtc-direct
- /ip4/0.0.0.0/tcp/2121
- /ip4/127.0.0.1/tcp/2121
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: true
ConnManager:
Low: 800
High: 1000
GracePeriod: 1m0s
RPC:
Address: localhost
Port: "26658"
SkipAuth: false
Gateway:
Address: localhost
Port: "26659"
Enabled: false
Share:
BlockStoreCacheSize: 128
UseShareExchange: true
EDSStoreParams:
RecentBlocksCacheSize: 10
ShrExEDSParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
HandleRequestTimeout: 1m0s
ConcurrencyLimit: 10
BufferSize: 32768
ShrExNDParams:
ServerReadTimeout: 5s
ServerWriteTimeout: 1m0s
HandleRequestTimeout: 1m0s
ConcurrencyLimit: 10
PeerManagerParams:
PoolValidationTimeout: 2m0s
PeerCooldown: 3s
GcInterval: 30s
EnableBlackListing: false
Discovery:
PeersLimit: 5
AdvertiseInterval: 1h0m0s
Header:
TrustedHash: ""
TrustedPeers: []
Store:
StoreCacheSize: 4096
IndexCacheSize: 16384
WriteBatchSize: 2048
Syncer:
TrustingPeriod: 336h0m0s
Server:
WriteDeadline: 8s
ReadDeadline: 1m0s
RangeRequestTimeout: 10s
Client:
MaxHeadersPerRangeRequest: 64
RangeRequestTimeout: 8s
Pruner:
EnableService: false
71 changes: 71 additions & 0 deletions scripts/config/node/bridge/v0.20.1-arabica/template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[Node]
StartupTimeout = "{{ .Values.node.config.bridge.configtoml.Node.StartupTimeout }}"
ShutdownTimeout = "{{ .Values.node.config.bridge.configtoml.Node.ShutdownTimeout }}"
[Core]
IP = "{{ .Values.node.config.bridge.configtoml.Core.IP }}"
RPCPort = "{{ .Values.node.config.bridge.configtoml.Core.RPCPort }}"
GRPCPort = "{{ .Values.node.config.bridge.configtoml.Core.GRPCPort }}"
[State]
DefaultKeyName = "{{ .Values.node.config.bridge.configtoml.State.DefaultKeyName }}"
DefaultBackendName = "{{ .Values.node.config.bridge.configtoml.State.DefaultBackendName }}"
[P2P]
ListenAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
AnnounceAddresses = {{ .Values.node.config.bridge.configtoml.P2P.AnnounceAddresses }}
NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
MutualPeers = {{ .Values.node.config.bridge.configtoml.P2P.MutualPeers }}
PeerExchange = {{ .Values.node.config.bridge.configtoml.P2P.PeerExchange }}
[P2P.ConnManager]
Low = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.Low }}
High = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.High }}
GracePeriod = "{{ .Values.node.config.bridge.configtoml.P2P.ConnManager.GracePeriod }}"
[RPC]
Address = "{{ .Values.node.config.bridge.configtoml.RPC.Address }}"
Port = "{{ .Values.node.config.bridge.configtoml.RPC.Port }}"
SkipAuth = {{ .Values.node.config.bridge.configtoml.RPC.SkipAuth }}
[Gateway]
Address = "{{ .Values.node.config.bridge.configtoml.Gateway.Address }}"
Port = "{{ .Values.node.config.bridge.configtoml.Gateway.Port }}"
Enabled = {{ .Values.node.config.bridge.configtoml.Gateway.Enabled }}
[Share]
BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.BlockStoreCacheSize }}
UseShareExchange = {{ .Values.node.config.bridge.configtoml.Share.UseShareExchange }}
[Share.EDSStoreParams]
RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }}
[Share.ShrExEDSParams]
ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}"
ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}"
HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}"
ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }}
BufferSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.BufferSize }}
[Share.ShrExNDParams]
ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerReadTimeout }}"
ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}"
HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}"
ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ConcurrencyLimit }}
[Share.PeerManagerParams]
PoolValidationTimeout = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}"
PeerCooldown = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PeerCooldown }}"
GcInterval = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval }}"
EnableBlackListing = {{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing }}
[Share.Discovery]
PeersLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.Discovery.PeersLimit }}
AdvertiseInterval = "{{ .Values.node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval }}"
[Header]
TrustedHash = "{{ .Values.node.config.bridge.configtoml.Header.TrustedHash }}"
TrustedPeers = {{ .Values.node.config.bridge.configtoml.Header.TrustedPeers }}
[Header.Store]
StoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.StoreCacheSize }}
IndexCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.IndexCacheSize }}
WriteBatchSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.WriteBatchSize }}
[Header.Syncer]
TrustingPeriod = "{{ .Values.node.config.bridge.configtoml.Header.Syncer.TrustingPeriod }}"
[Header.Server]
WriteDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.WriteDeadline }}"
ReadDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.ReadDeadline }}"
RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Server.RangeRequestTimeout }}"
[Header.Client]
MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Client.MaxHeadersPerRangeRequest }}
RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Client.RangeRequestTimeout }}"
[Pruner]
EnableService = {{ .Values.node.config.bridge.configtoml.Pruner.EnableService }}

Loading

0 comments on commit 8f169ff

Please sign in to comment.