Skip to content

Commit

Permalink
Smuu/bump node to v0.14.0 and app to v0.11.0 (#4)
Browse files Browse the repository at this point in the history
* feat: bump node to v0.14.0

Signed-off-by: Smuu <[email protected]>

* feat: bump app

Signed-off-by: Smuu <[email protected]>

---------

Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu authored Jul 5, 2024
1 parent ed78bef commit cce9723
Show file tree
Hide file tree
Showing 12 changed files with 1,027 additions and 254 deletions.
2 changes: 1 addition & 1 deletion charts/celestia-app/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: v1.10.1
appVersion: v1.11.0
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
229 changes: 33 additions & 196 deletions charts/celestia-app/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion charts/celestia-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ app:
# -- repository for the image, celestiaorg/celestia-app by default
repository: celestiaorg/celestia-app
# -- tag for the image, v1.9.0 by default
tag: v1.10.1
tag: v1.11.0
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
2 changes: 1 addition & 1 deletion 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.13.6
appVersion: v0.14.0
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
58 changes: 30 additions & 28 deletions charts/celestia-node/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# celestia-node

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.13.6](https://img.shields.io/badge/AppVersion-v0.13.6-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.14.0](https://img.shields.io/badge/AppVersion-v0.14.0-informational?style=flat-square)

Celestia Node

Expand All @@ -10,7 +10,7 @@ Celestia Node

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

## Source Code

Expand Down Expand Up @@ -63,17 +63,11 @@ Celestia Node
| node.args[4] | string | `"--metrics.tls=false"` | |
| node.args[5] | string | `"--p2p.metrics"` | |
| node.automountServiceAccountToken | bool | `false` | mount service account token in node pods |
| node.command | list | `["celestia"]` | command for the celestia-node |
| node.command | list | `["celestia"]` | command for the celestia-node |
| node.command[0] | string | `"celestia"` | celestia |
| node.config.configtoml.Core.GRPCPort | string | `"9090"` | |
| node.config.configtoml.Core.IP | string | `""` | |
| node.config.configtoml.Core.RPCPort | string | `"26657"` | |
| node.config.configtoml.DASer.BackgroundStoreInterval | string | `"10m0s"` | |
| node.config.configtoml.DASer.ConcurrencyLimit | int | `16` | |
| node.config.configtoml.DASer.SampleFrom | int | `1` | |
| node.config.configtoml.DASer.SampleTimeout | string | `"2m40s"` | |
| node.config.configtoml.DASer.SamplingRange | int | `100` | |
| node.config.configtoml.DASer.SamplingWindow | string | `"0s"` | |
| node.config.configtoml.Gateway.Address | string | `"localhost"` | |
| node.config.configtoml.Gateway.Enabled | bool | `false` | |
| node.config.configtoml.Gateway.Port | string | `"26659"` | |
Expand All @@ -82,18 +76,18 @@ Celestia Node
| node.config.configtoml.Header.Server.RangeRequestTimeout | string | `"10s"` | |
| node.config.configtoml.Header.Server.ReadDeadline | string | `"1m0s"` | |
| node.config.configtoml.Header.Server.WriteDeadline | string | `"8s"` | |
| node.config.configtoml.Header.Store.IndexCacheSize | int | `2048` | |
| node.config.configtoml.Header.Store.StoreCacheSize | int | `512` | |
| node.config.configtoml.Header.Store.WriteBatchSize | int | `512` | |
| node.config.configtoml.Header.Store.IndexCacheSize | int | `16384` | |
| node.config.configtoml.Header.Store.StoreCacheSize | int | `4096` | |
| node.config.configtoml.Header.Store.WriteBatchSize | int | `2048` | |
| node.config.configtoml.Header.Syncer.TrustingPeriod | string | `"336h0m0s"` | |
| node.config.configtoml.Header.TrustedHash | string | `""` | |
| node.config.configtoml.Header.TrustedPeers | list | `[]` | |
| node.config.configtoml.Node.ShutdownTimeout | string | `"20s"` | |
| node.config.configtoml.Node.StartupTimeout | string | `"20s"` | |
| node.config.configtoml.Node.ShutdownTimeout | string | `"2m0s"` | |
| node.config.configtoml.Node.StartupTimeout | string | `"2m0s"` | |
| node.config.configtoml.P2P.AnnounceAddresses | list | `[]` | |
| node.config.configtoml.P2P.ConnManager.GracePeriod | string | `"1m0s"` | |
| node.config.configtoml.P2P.ConnManager.High | int | `100` | |
| node.config.configtoml.P2P.ConnManager.Low | int | `50` | |
| node.config.configtoml.P2P.ConnManager.High | int | `1000` | |
| node.config.configtoml.P2P.ConnManager.Low | int | `800` | |
| node.config.configtoml.P2P.ListenAddresses[0] | string | `"/ip4/0.0.0.0/udp/2121/quic-v1/webtransport"` | |
| node.config.configtoml.P2P.ListenAddresses[1] | string | `"/ip6/::/udp/2121/quic-v1/webtransport"` | |
| node.config.configtoml.P2P.ListenAddresses[2] | string | `"/ip4/0.0.0.0/udp/2121/quic-v1"` | |
Expand All @@ -110,8 +104,9 @@ Celestia Node
| node.config.configtoml.P2P.NoAnnounceAddresses[6] | string | `"/ip4/0.0.0.0/tcp/2121"` | |
| node.config.configtoml.P2P.NoAnnounceAddresses[7] | string | `"/ip4/127.0.0.1/tcp/2121"` | |
| node.config.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/tcp/2121"` | |
| node.config.configtoml.P2P.PeerExchange | bool | `false` | |
| node.config.configtoml.P2P.PeerExchange | bool | `true` | |
| node.config.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | |
| node.config.configtoml.Pruner.EnableService | bool | `false` | |
| node.config.configtoml.RPC.Address | string | `"localhost"` | |
| node.config.configtoml.RPC.Port | string | `"26658"` | |
| node.config.configtoml.RPC.SkipAuth | bool | `false` | |
Expand All @@ -120,7 +115,6 @@ Celestia Node
| node.config.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | |
| node.config.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | |
| node.config.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | |
| node.config.configtoml.Share.LightAvailability.SampleAmount | int | `16` | |
| node.config.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | |
| node.config.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | |
| node.config.configtoml.Share.PeerManagerParams.PeerCooldown | string | `"3s"` | |
Expand All @@ -135,6 +129,7 @@ Celestia Node
| node.config.configtoml.Share.ShrExNDParams.ServerReadTimeout | string | `"5s"` | |
| node.config.configtoml.Share.ShrExNDParams.ServerWriteTimeout | string | `"1m0s"` | |
| node.config.configtoml.Share.UseShareExchange | bool | `true` | |
| node.config.configtoml.State.GranterAddress | list | `[]` | |
| node.config.configtoml.State.KeyringAccName | string | `""` | |
| node.config.configtoml.State.KeyringBackend | string | `"test"` | |
| node.containerPorts | object | `{"p2p":2121,"profiling":6060,"prometheus":8890,"rest":26659,"rpc":26658}` | Container ports for the node |
Expand All @@ -144,7 +139,7 @@ Celestia Node
| node.containerPorts.rest | int | `26659` | REST container port, 26659 by default |
| node.containerPorts.rpc | int | `26658` | RPC container port, 26658 by default |
| node.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"enabled":true,"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":10001,"runAsNonRoot":true,"runAsUser":10001,"seLinuxOptions":{},"seccompProfile":{"type":"RuntimeDefault"}}` | container security context for the node |
| node.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | allowPrivilegeEscalation in node container, false by default |
| node.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | allowPrivilegeEscalation in node container, false by default |
| node.containerSecurityContext.capabilities | object | `{"drop":["ALL"]}` | capabilities to be dropped in node container, ["ALL"] by default |
| node.containerSecurityContext.enabled | bool | `true` | enable container security context for the node, true by default |
| node.containerSecurityContext.privileged | bool | `false` | privileged in node container, false by default |
Expand All @@ -166,11 +161,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.13.6"}` | image parameters for the image |
| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.14.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.13.6"` | tag for the image, v0.13.6 by default |
| node.image.tag | string | `"v0.14.0"` | tag for the image, v0.13.6 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 Expand Up @@ -215,6 +210,7 @@ Celestia Node
| node.readinessProbe.successThreshold | int | `1` | success threshold for readinessProbe, 1 by default |
| node.readinessProbe.timeoutSeconds | int | `1` | timeout seconds for readinessProbe, 1 by default |
| node.replicaCount | int | `1` | number of node replicas to deploy, 1 by default |
| node.resources | object | `{"limits":{"cpu":6,"memory":"16Gi"},"requests":{"cpu":6,"memory":"16Gi"}}` | resources for the node |
| node.resources.limits | object | `{"cpu":6,"memory":"16Gi"}` | limits for the node |
| node.resources.limits.cpu | int | `6` | cpu limits for the node, 2 by default |
| node.resources.limits.memory | string | `"16Gi"` | memory limits for the node, 8Gi by default |
Expand All @@ -228,7 +224,7 @@ Celestia Node
| node.settings.node_id | string | `"SET_IT"` | node ID for the celestia-node, it must be set |
| node.settings.secret.name | string | `"SET_IT"` | name of the secret, it must be set |
| node.sidecars | list | `[]` | |
| node.startupProbe | object | `{"enabled":false,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | startup probe for the node |
| node.startupProbe | object | `{"enabled":false,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | startup probe for the node |
| node.startupProbe.enabled | bool | `false` | enable startup probe on node containers, false by default |
| node.startupProbe.initialDelaySeconds | int | `0` | initial delay seconds for startupProbe, 0 by default |
| node.startupProbe.periodSeconds | int | `10` | period seconds for startupProbe, 10 by default |
Expand All @@ -240,24 +236,30 @@ Celestia Node
| node.topologySpreadConstraints | list | `[]` | |
| node.updateStrategy.type | string | `"RollingUpdate"` | |
| persistence | object | `{"accessModes":["ReadWriteOnce"],"annotations":{},"dataSource":{},"enabled":true,"existingClaim":"","mountPath":"/bitnami/app/data","selector":{},"size":"250Gi","storageClass":"","subPath":""}` | persistence parameters |
| persistence.enabled | bool | `true` | enable persistence, true by default |
| persistence.size | string | `"250Gi"` | size of data volume, 250Gi by default |
| rbac.create | bool | `false` | |
| rbac.rules | list | `[]` | |
| service | object | `{"external":{"annotations":{},"enabled":true,"externalTrafficPolicy":"Cluster","extraPorts":[],"loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePorts":{"p2p":"","profiling":"","prometheus":"","rest":"","rpc":""},"ports":{"p2p":2121,"rest":26659,"rpc":26658},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"LoadBalancer"},"internal":{"annotations":{},"clusterIP":"","ports":{"p2p":2121,"profiling":6060,"prometheus":8890,"rest":26659,"rpc":26658},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"ClusterIP"}}` | service parameters |
| service.external | object | `{"annotations":{},"enabled":true,"externalTrafficPolicy":"Cluster","extraPorts":[],"loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePorts":{"p2p":"","profiling":"","prometheus":"","rest":"","rpc":""},"ports":{"p2p":2121,"rest":26659,"rpc":26658},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"LoadBalancer"}` | external service parameters |
| service.external.enabled | bool | `true` | enable external service, true by default |
| service.external.enabled | bool | `true` | enable external service, true by default |
| service.external.nodePorts | object | `{"p2p":"","profiling":"","prometheus":"","rest":"","rpc":""}` | node ports for the celestia-app |
| service.external.nodePorts.p2p | string | `""` | p2p port, 2121 by default |
| service.external.nodePorts.profiling | string | `""` | profiling port, 6060 by default |
| service.external.nodePorts.prometheus | string | `""` | prometheus port, 8890 by default |
| service.external.nodePorts.rest | string | `""` | rest port, 26659 by default |
| service.external.nodePorts.rpc | string | `""` | rpc port, 26658 by default |
| service.external.ports.p2p | int | `2121` | P2P container port, 2121 by default |
| service.external.ports.rest | int | `26659` | REST container port, 26659 by default |
| service.external.ports.rpc | int | `26658` | RPC container port, 26658 by default |
| service.external.type | string | `"LoadBalancer"` | external service type, LoadBalancer by default |
| service.internal.annotations | object | `{}` | |
| service.internal.clusterIP | string | `""` | |
| service.external.type | string | `"LoadBalancer"` | external service type, LoadBalancer by default |
| service.internal | object | `{"annotations":{},"clusterIP":"","ports":{"p2p":2121,"profiling":6060,"prometheus":8890,"rest":26659,"rpc":26658},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"ClusterIP"}` | service type, ClusterIP by default |
| service.internal.ports | object | `{"p2p":2121,"profiling":6060,"prometheus":8890,"rest":26659,"rpc":26658}` | Ports for the celestia-node |
| service.internal.ports.p2p | int | `2121` | P2P container port, 2121 by default |
| service.internal.ports.profiling | int | `6060` | Profiling container port, 6060 by default |
| service.internal.ports.prometheus | int | `8890` | Prometheus container port, 8890 by default |
| service.internal.ports.rest | int | `26659` | REST container port, 26659 by default |
| service.internal.ports.rpc | int | `26658` | RPC container port, 26658 by default |
| service.internal.sessionAffinity | string | `"None"` | |
| service.internal.sessionAffinityConfig | object | `{}` | |
| service.internal.type | string | `"ClusterIP"` | service type, ClusterIP by default |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.automountServiceAccountToken | bool | `true` | |
Expand Down
12 changes: 3 additions & 9 deletions charts/celestia-node/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ data:
[State]
KeyringAccName = "{{ .Values.node.config.configtoml.State.KeyringAccName }}"
KeyringBackend = "{{ .Values.node.config.configtoml.State.KeyringBackend }}"
GranterAddress = {{ .Values.node.config.configtoml.State.GranterAddress }}
[P2P]
ListenAddresses = [{{ range $index, $element := .Values.node.config.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}]
AnnounceAddresses = {{ .Values.node.config.configtoml.P2P.AnnounceAddresses }}
Expand Down Expand Up @@ -61,8 +62,6 @@ data:
PeerCooldown = "{{ .Values.node.config.configtoml.Share.PeerManagerParams.PeerCooldown }}"
GcInterval = "{{ .Values.node.config.configtoml.Share.PeerManagerParams.GcInterval }}"
EnableBlackListing = {{ .Values.node.config.configtoml.Share.PeerManagerParams.EnableBlackListing }}
[Share.LightAvailability]
SampleAmount = {{ printf "%.0f" .Values.node.config.configtoml.Share.LightAvailability.SampleAmount }}
[Share.Discovery]
PeersLimit = {{ printf "%.0f" .Values.node.config.configtoml.Share.Discovery.PeersLimit }}
AdvertiseInterval = "{{ .Values.node.config.configtoml.Share.Discovery.AdvertiseInterval }}"
Expand All @@ -82,13 +81,8 @@ data:
[Header.Client]
MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.configtoml.Header.Client.MaxHeadersPerRangeRequest }}
RangeRequestTimeout = "{{ .Values.node.config.configtoml.Header.Client.RangeRequestTimeout }}"
[DASer]
SamplingRange = {{ printf "%.0f" .Values.node.config.configtoml.DASer.SamplingRange }}
ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.configtoml.DASer.ConcurrencyLimit }}
BackgroundStoreInterval = "{{ .Values.node.config.configtoml.DASer.BackgroundStoreInterval }}"
SampleFrom = {{ printf "%.0f" .Values.node.config.configtoml.DASer.SampleFrom }}
SampleTimeout = "{{ .Values.node.config.configtoml.DASer.SampleTimeout }}"
SamplingWindow = "{{ .Values.node.config.configtoml.DASer.SamplingWindow }}"
[Pruner]
EnableService = {{ .Values.node.config.configtoml.Pruner.EnableService }}
---
apiVersion: v1
kind: ConfigMap
Expand Down
30 changes: 12 additions & 18 deletions charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ node:
# -- repository for the image, celestiaorg/celestia-node by default
repository: celestiaorg/celestia-node
# -- tag for the image, v0.13.6 by default
tag: v0.13.6
tag: v0.14.0
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down Expand Up @@ -148,15 +148,16 @@ node:
config:
configtoml:
Node:
StartupTimeout: 20s
ShutdownTimeout: 20s
StartupTimeout: 2m0s
ShutdownTimeout: 2m0s
Core:
IP: ""
RPCPort: "26657"
GRPCPort: "9090"
State:
KeyringAccName: ""
KeyringBackend: test
GranterAddress: []
P2P:
ListenAddresses:
- /ip4/0.0.0.0/udp/2121/quic-v1/webtransport
Expand All @@ -177,11 +178,11 @@ node:
- /ip4/127.0.0.1/tcp/2121
- /ip6/::/tcp/2121
MutualPeers: []
PeerExchange: false
PeerExchange: true
RoutingTableRefreshPeriod: 1m0s
ConnManager:
Low: 50
High: 100
Low: 800
High: 1000
GracePeriod: 1m0s
RPC:
Address: localhost
Expand Down Expand Up @@ -213,18 +214,16 @@ node:
PeerCooldown: 3s
GcInterval: 30s
EnableBlackListing: false
LightAvailability:
SampleAmount: 16
Discovery:
PeersLimit: 5
AdvertiseInterval: 1h0m0s
Header:
TrustedHash: ""
TrustedPeers: []
Store:
StoreCacheSize: 512
IndexCacheSize: 2048
WriteBatchSize: 512
StoreCacheSize: 4096
IndexCacheSize: 16384
WriteBatchSize: 2048
Syncer:
TrustingPeriod: 336h0m0s
Server:
Expand All @@ -234,13 +233,8 @@ node:
Client:
MaxHeadersPerRangeRequest: 64
RangeRequestTimeout: 8s
DASer:
SamplingRange: 100
ConcurrencyLimit: 16
BackgroundStoreInterval: 10m0s
SampleFrom: 1
SampleTimeout: 2m40s
SamplingWindow: 0s
Pruner:
EnableService: false
## @param node.otelAgent OTel agent configuration for the node
##
otelAgent:
Expand Down
Loading

0 comments on commit cce9723

Please sign in to comment.