- A
StatefulSetnamed after the release, withpodManagementPolicy: ParallelandfsGroup: 1000. - One per-replica ADNL
Service(default type:LoadBalancer) withexternalTrafficPolicy: Localand optional static IP assignment. Additional per-replica Services are created for enabledcontrol,liteserver, andjsonRpcports, and a shared<release>-metricsClusterIPService is created whenports.metricsis enabled. - An init container (configured by
initImage, defaultalpine:3.21) that seeds configs from mounted volumes into the main persistent volume claim (PVC). PersistentVolumeClaim(PVC) resources:main,db,keys, and optionallylogs(controlled bystorage.logs.enabled).ConfigMapresources for global config, logs config, and optional bootstrap files:basestate(base state,basestate.boc) andzerostate(zero state,zerostate.boc).- A
Secretfor per-node JSON configs.
Volumes and mounts
The node uses persistent volumes:Storage recommendations
Thedb and logs volumes are performance-critical because they handle continuous heavy I/O from blockchain database operations and log writes. The chart recommends local storage with direct disk access (local-path, OpenEBS with Linux Logical Volume Manager (LVM) support, or similar local volume provisioners).
Network-attached storage (Network File System (NFS), Ceph Reliable Autonomic Distributed Object Store (RADOS) block device (RBD), Amazon Elastic Block Store (EBS), and similar systems) adds latency and can significantly affect node performance and sync speed under high I/O workloads.
The main and keys volumes have minimal I/O load, so standard storage classes are usually sufficient. The chart recommends Longhorn v1 with replica count 3 for data safety. Longhorn v2 is currently not recommended for TON Rust Node workloads in the chart maintainers’ current test scope.
Init container bootstrap flow
Before the node starts, the init container (configured byinitImage, default alpine:3.21) prepares the /main volume:
- Copies
global.config.jsonandlogs.config.ymlfrom seedConfigMapvolumes into/main. - If
basestateandzerostatefiles are provided, compute SHA-256 hashes and write files as/main/static/<HASH>.boc. - Resolves pod index from pod name (for example,
my-node-2->2) and copiesnode-2.jsonfrom the node-configSecretto/main/config.json. - Sets ownership to UID
1000(non-root app user).
ConfigMap and Secret) are mounted read-only under /seed/:
Container command resolution
The main container command is selected automatically:
Conditions are evaluated in this order, and the first matching condition is used. When
command is set, the chart runs exactly the command configured in command.
For debug.sleep: true, the chart uses a busybox image.
Config change detection
The pod annotationrsquad.io/config-checksum stores a SHA-256 checksum of all inline configs. Any config change triggers a pod restart.