From edaf53209e88a9d96bcfb44e316c359cb3ec1ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Thu, 22 Aug 2024 09:47:45 +0200 Subject: [PATCH 1/5] feat(node): add pvc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jose Ramon Mañes --- charts/celestia-node/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/celestia-node/Chart.yaml b/charts/celestia-node/Chart.yaml index 876a286..9cd768c 100644 --- a/charts/celestia-node/Chart.yaml +++ b/charts/celestia-node/Chart.yaml @@ -21,4 +21,4 @@ maintainers: name: celestia-node sources: - https://github.com/celestiaorg/celestia-node -version: 0.2.0 +version: 0.2.1 From b00ac7d02cc37224e546678eb338f04ce88c6f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Thu, 22 Aug 2024 09:50:19 +0200 Subject: [PATCH 2/5] feat(node): add pvc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jose Ramon Mañes --- charts/celestia-node/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/charts/celestia-node/README.md b/charts/celestia-node/README.md index d95ced0..fdc815c 100644 --- a/charts/celestia-node/README.md +++ b/charts/celestia-node/README.md @@ -1,6 +1,6 @@ # celestia-node -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: v0.15.0](https://img.shields.io/badge/AppVersion-v0.15.0-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![AppVersion: v0.15.0](https://img.shields.io/badge/AppVersion-v0.15.0-informational?style=flat-square) Celestia Node @@ -374,10 +374,8 @@ Celestia Node | node.resources.requests.memory | string | `"16Gi"` | memory requests for the node, 8Gi by default | | node.resourcesPreset | string | `"nano"` | more information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15 | | node.schedulerName | string | `""` | | -| node.settings.address | string | `"SET_IT"` | address for the celestia-node, it must be set | | node.settings.home | string | `"/home/celestia"` | home directory for the celestia-node, defaults to /home/celestia | | node.settings.nodeType | string | `"bridge"` | | -| 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.settings.ws.tls.enabled | bool | `false` | | | node.settings.ws.tls.secret.name | string | `"SET_IT"` | | From 6806c37da8298cd40a8bbb8e1daafe2d879a7f2c Mon Sep 17 00:00:00 2001 From: aWN4Y25pa2EK <19519604+aWN4Y25pa2EK@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:14:33 +0100 Subject: [PATCH 3/5] fix linting --- .test.yaml.swp | Bin 0 -> 12288 bytes charts/celestia-node/values.yaml | 8 ++-- test.yaml | 78 +++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 4 deletions(-) create mode 100644 .test.yaml.swp create mode 100644 test.yaml diff --git a/.test.yaml.swp b/.test.yaml.swp new file mode 100644 index 0000000000000000000000000000000000000000..adf8073a90bc8f4bb67f0bf83cfbfb2dc20e53c7 GIT binary patch literal 12288 zcmeI2NsQ}A8OQx#ScYL>G$SOCkTCtwV?g7y)19P~NbiuX-C3N?&MKj(Y**q+oGQnz zB%O#wz+p}xaYA!KLL3m{!hyNNfg9q)3C$oR5E2px4hRW2@OkNl$73`zwif#AwjmGes#r+L0vs;|zoKJ4dLU4;I^2}s>0I|E6`5tmR#MkvDTkTJd0P9g z2L?|S!cT4NtR>S%9`{c<_Ic`n)=%y7G&4zEqCld+`%>V=!TDJ_4E2X6pBGd=jd<6LW#{}W`z^{Nefgb_i z1-1YND!{9N2)qP52mI-I@B{c6@O|Lhz#foPHZ>aGzxJD9}69t}q1w;{3WH{I=igV=nxF}G}_sm;$nM2G& zQFyX}U=g&S%;&^ZnFZ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PiXkEb~kAPOxl{!7Ba8{OY717qVOM&+tV@t literal 0 HcmV?d00001 diff --git a/charts/celestia-node/values.yaml b/charts/celestia-node/values.yaml index 7b90a7a..98fe9ba 100644 --- a/charts/celestia-node/values.yaml +++ b/charts/celestia-node/values.yaml @@ -466,16 +466,16 @@ node: ## @param volumePermissions.resourcesPreset Set init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production). ## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15 ## - #resourcesPreset: "micro" + # resourcesPreset: "micro" ## @param volumePermissions.resources Set init container resources for the otel agent (essential for production workloads) ## Example: resources: requests: cpu: 100m memory: 100Mi - #limits: - #cpu: 200m - #memory: 200Mi + # limits: + # cpu: 200m + # memory: 200Mi ## A secret must be available in the cluster with the following format: ## - name: ## - items: diff --git a/test.yaml b/test.yaml new file mode 100644 index 0000000..503e92b --- /dev/null +++ b/test.yaml @@ -0,0 +1,78 @@ +commonLabels: &commonLabels + chain_id: arabica-11 + environment: arabica + network: da + type: &nodeType bridge # check + bootstrapper: &bootstrapper "true" + secretName: &secretName keys-da-bridge-4 # check + pool: &pool pool-da-0 # check pool instance type to validate requests & limits + release: &release v0.15.0 + wssTLS: &wssTLS da-b4-wss-tls +service: + external: + annotations: + external-dns.alpha.kubernetes.io/endpoints-type: "NodeExternalIP" + external-dns.alpha.kubernetes.io/hostname: "v15-da-bridge-4.celestia-arabica-11.com" + external-dns.alpha.kubernetes.io/ttl: "60" +persistence: + storageClass: sbs-15k + size: 1.5Ti + dataSource: + apiGroup: snapshot.storage.k8s.io + kind: VolumeSnapshot + name: da-latest +node: + image: + tag: *release + nodeSelector: + k8s.scaleway.com/pool-name: *pool + persistentVolumeClaimRetentionPolicy: + whenDeleted: Delete + whenScaled: Delete + otelAgent: + enabled: true + grafanaOtelSecret: + name: grafana-otel-token + resources: + requests: + cpu: 2 + memory: 4Gi + limits: + #cpu: 4 # not required since this pod should run on it's own dedicated node + memory: 10Gi + extraEnvVars: + - name: CELESTIA_BOOTSTRAPPER + value: *bootstrapper + args: + - *nodeType + - start + - --p2p.network=arabica-11 + - --node.store=$(CELESTIA_HOME) + - --metrics + - --metrics.tls=false + - --p2p.metrics + settings: + nodeType: *nodeType + address: "eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wMS0wMiAxMzowMDo1Mi4wMDMzMzM3MTkgKzAwMDAgVVRDIG09KzAuMDQwMjQxMDk3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiSUpfUVNZeHFaUi1zUHJ5RyJ9.3elqIhhaOROoBGP9sKBGZa1qd6XY9quGPbChZv5zPbamFnCuByXXZw.sAbNfJO-m8v_LWPk.W-ejd0cYJonLh9BpizjTYMSWeNjboKYGIw2VInDagoDJja_TR_eSQXZVL0LZb9M-YAoMWDySoI3QlTu2fS8cGtFGQ5QpKYix6ndXhtFLb-vlyvMK-eXxOl9Zhjwt7BDb5rOQGOKGCKSGFrouASsuAWhcgULaKsv_BhTnK0EboprKgF9HHN2OMBr1QyXESg2fhpzn3n5WD0W1YUqCpQCn-zMVzwYOJXwL_b04qiWCfHNDn85iQOs9Tbepecyhjcy0bt7nRDDZ7ZgqGlp_h63slZ5fKDGAI_jTFL06ygXgJmre88vr6nGVxeIIKtGcSOaGLySTUjyo_iiHGHFtUdnzNWBbKKh_x9NS8qYqWASTt8bRIisdbQzCLFN5pMLEvhMtnDq6aSUkB-p9ZAGpJXljZJjGMi14K4XfRWAh0RQeAVk_81h2tTXRSzfql-qgfA7DmUrO0VYBTPL78dXqLcJd.YdHoxUmfRqPJfOz-lbybGA" + node_id: "db1e0ee216b0dd73068b6460926701ff40ce8f1a" + secret: + name: *secretName + ws: + enabled: false + secret: + name: *wssTLS + config: + configtoml: + Core: + IP: consensus-validator + RPC: + Address: 0.0.0.0 + Gateway: + Enabled: true + Address: 0.0.0.0 + Node: + StartupTimeout: 2m +diagnosticMode: + enabled: false +networkPolicy: + enabled: false \ No newline at end of file From 8ef472911fc4acfc06c016b4576546c550c10829 Mon Sep 17 00:00:00 2001 From: aWN4Y25pa2EK <19519604+aWN4Y25pa2EK@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:14:45 +0100 Subject: [PATCH 4/5] fix linting --- .test.yaml.swp | Bin 12288 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .test.yaml.swp diff --git a/.test.yaml.swp b/.test.yaml.swp deleted file mode 100644 index adf8073a90bc8f4bb67f0bf83cfbfb2dc20e53c7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2NsQ}A8OQx#ScYL>G$SOCkTCtwV?g7y)19P~NbiuX-C3N?&MKj(Y**q+oGQnz zB%O#wz+p}xaYA!KLL3m{!hyNNfg9q)3C$oR5E2px4hRW2@OkNl$73`zwif#AwjmGes#r+L0vs;|zoKJ4dLU4;I^2}s>0I|E6`5tmR#MkvDTkTJd0P9g z2L?|S!cT4NtR>S%9`{c<_Ic`n)=%y7G&4zEqCld+`%>V=!TDJ_4E2X6pBGd=jd<6LW#{}W`z^{Nefgb_i z1-1YND!{9N2)qP52mI-I@B{c6@O|Lhz#foPHZ>aGzxJD9}69t}q1w;{3WH{I=igV=nxF}G}_sm;$nM2G& zQFyX}U=g&S%;&^ZnFZ~|_|Q0fxU_Y3vc_!7i{jZjzSaJ(W+lt=uMBXs2giE4O?X+=>lrO=l2)a$G}lAh zQiiMgk`Z-TIk>DuU1)FB^fxYNBB8c_0^(zEJ3-n7!Lc@x*`{#yj82c zy}ImOtJT$co$SeUlwAfkdpeA{vZ}gP_v^HDm>lZ4PPLX*p^aH>9D_F6z?~0D_X`;=cY+Ve(7TIYAO)~LHmjU>FZWOLGBv}G5{E;%msiK>lodug!dM5*u3hILv+ z3s!9`(M<2pu+|$-hb_4^H43UUDKT|aJ!q_c-gETr*<8z;3cpl(*`C{+kn0?^#x}of z8Pd)d81z^zGd`|mDXiD>#D8V&Q>|CZgNN)tjdyGn3fc`F?N>I#!`VrnQ3Om^Zux0 z%l#fM4Og>#+CJm@xUU`O8%NqK=B113df;{B;iRm0TNin2ylI&YD>bpM*!5sN?{B(| zdFLoO#=%fZQ5*#EqaWNL%5E+pK77nMp$k8XF-epp_smVLG53h+hw&5C#pM)t{KsL| zdh*U~IWV2_A^P#-FT7f*wQ8DPFU_txYVAw6ZGsWvr1uzk$RH+?(&_lNA7r)o`o5#c zyKzz!A;oNi=P(%KKKGF8;wallVw6X22QGIyx~BI_-EOT9M)5VYuF>5PdGQm^5plL2 z)@{gQmO?^XqWI8sw?#1{J`^eAqK7wI;$chl2{p0EZQ_eA zgQCs0jwO0qDl#e({zYG8dn#Jkf?4FyK3D*uMTe{jk5#@KFmpRzINVv-G#Cs%zYQD1 zJg}{2;@h6lj4nJhM-)knV@Kj_g=yF`uI@lBOciV$(K>!|nu1=X1*Y-sy^W~`Uk3-9 za1}e4M;-^&QSp8~ECiqU96Aq~vt8qggUGrMeJCf4-tF3=xXSw}KQIeBXv$>kQ!^u6}U$ji~zec(n67g0eo_VSW2g|dax3L(1phEkijd1 zZ}?I=yAp0SFk_#>P{JNXj$~0kg&fyLsnyniDo`dE=ah2?_UfD*WuJG^!G?F7NURfh zSi>XM0!x{c3Ch6B50dUuMIi3GHjAm{GD5j8@i6LzK{b3+ aPiXkEb~kAPOxl{!7Ba8{OY717qVOM&+tV@t From 3ba612ddee867a49156d16891bfd1dbf3cea8fac Mon Sep 17 00:00:00 2001 From: aWN4Y25pa2EK <19519604+aWN4Y25pa2EK@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:15:33 +0100 Subject: [PATCH 5/5] fix linting --- test.yaml | 78 ------------------------------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 test.yaml diff --git a/test.yaml b/test.yaml deleted file mode 100644 index 503e92b..0000000 --- a/test.yaml +++ /dev/null @@ -1,78 +0,0 @@ -commonLabels: &commonLabels - chain_id: arabica-11 - environment: arabica - network: da - type: &nodeType bridge # check - bootstrapper: &bootstrapper "true" - secretName: &secretName keys-da-bridge-4 # check - pool: &pool pool-da-0 # check pool instance type to validate requests & limits - release: &release v0.15.0 - wssTLS: &wssTLS da-b4-wss-tls -service: - external: - annotations: - external-dns.alpha.kubernetes.io/endpoints-type: "NodeExternalIP" - external-dns.alpha.kubernetes.io/hostname: "v15-da-bridge-4.celestia-arabica-11.com" - external-dns.alpha.kubernetes.io/ttl: "60" -persistence: - storageClass: sbs-15k - size: 1.5Ti - dataSource: - apiGroup: snapshot.storage.k8s.io - kind: VolumeSnapshot - name: da-latest -node: - image: - tag: *release - nodeSelector: - k8s.scaleway.com/pool-name: *pool - persistentVolumeClaimRetentionPolicy: - whenDeleted: Delete - whenScaled: Delete - otelAgent: - enabled: true - grafanaOtelSecret: - name: grafana-otel-token - resources: - requests: - cpu: 2 - memory: 4Gi - limits: - #cpu: 4 # not required since this pod should run on it's own dedicated node - memory: 10Gi - extraEnvVars: - - name: CELESTIA_BOOTSTRAPPER - value: *bootstrapper - args: - - *nodeType - - start - - --p2p.network=arabica-11 - - --node.store=$(CELESTIA_HOME) - - --metrics - - --metrics.tls=false - - --p2p.metrics - settings: - nodeType: *nodeType - address: "eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjcmVhdGVkIjoiMjAyNC0wMS0wMiAxMzowMDo1Mi4wMDMzMzM3MTkgKzAwMDAgVVRDIG09KzAuMDQwMjQxMDk3IiwiZW5jIjoiQTI1NkdDTSIsInAyYyI6ODE5MiwicDJzIjoiSUpfUVNZeHFaUi1zUHJ5RyJ9.3elqIhhaOROoBGP9sKBGZa1qd6XY9quGPbChZv5zPbamFnCuByXXZw.sAbNfJO-m8v_LWPk.W-ejd0cYJonLh9BpizjTYMSWeNjboKYGIw2VInDagoDJja_TR_eSQXZVL0LZb9M-YAoMWDySoI3QlTu2fS8cGtFGQ5QpKYix6ndXhtFLb-vlyvMK-eXxOl9Zhjwt7BDb5rOQGOKGCKSGFrouASsuAWhcgULaKsv_BhTnK0EboprKgF9HHN2OMBr1QyXESg2fhpzn3n5WD0W1YUqCpQCn-zMVzwYOJXwL_b04qiWCfHNDn85iQOs9Tbepecyhjcy0bt7nRDDZ7ZgqGlp_h63slZ5fKDGAI_jTFL06ygXgJmre88vr6nGVxeIIKtGcSOaGLySTUjyo_iiHGHFtUdnzNWBbKKh_x9NS8qYqWASTt8bRIisdbQzCLFN5pMLEvhMtnDq6aSUkB-p9ZAGpJXljZJjGMi14K4XfRWAh0RQeAVk_81h2tTXRSzfql-qgfA7DmUrO0VYBTPL78dXqLcJd.YdHoxUmfRqPJfOz-lbybGA" - node_id: "db1e0ee216b0dd73068b6460926701ff40ce8f1a" - secret: - name: *secretName - ws: - enabled: false - secret: - name: *wssTLS - config: - configtoml: - Core: - IP: consensus-validator - RPC: - Address: 0.0.0.0 - Gateway: - Enabled: true - Address: 0.0.0.0 - Node: - StartupTimeout: 2m -diagnosticMode: - enabled: false -networkPolicy: - enabled: false \ No newline at end of file