mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-07 09:17:27 +08:00
1.7 KiB
1.7 KiB
Quilibrium-node chart
How to use
Run in docker dir
helm install -n default -f chart/values.yaml quilibrium-node chart
Storage Configuration Guide
1. emptyDir (Temporary Storage)
- An
emptyDirvolume is created when a Pod is assigned to a node - Data persists only for the Pod's lifetime (deleted when the Pod is removed)
- Storage is backed by:
- Node's default medium (disk/SSD) by default
- RAM if
emptyDir.medium: Memoryis set
2. hostPath (Node-Local Storage)
- Binds a directory from the host node's filesystem into the Pod
- Data persists even if the Pod is deleted
- Tied to the node's lifecycle
⚠️ Warnings
replicaCountmust be set to1- Not suitable for multi-node clusters
- Potential security risks (host system access)
3. PVC (PersistentVolumeClaim - Production Storage)
- Dynamically provisions a PersistentVolume (PV) per Pod via
volumeClaimTemplates - Each Pod gets independent volume (e.g.,
pvc-quilibrium-node-0,pvc-quilibrium-node-1) - Data survives:
- Pod restarts
- Rescheduling (if storage backend supports it)
Comparison Table
| Feature | emptyDir | hostPath | PVC |
|---|---|---|---|
| Persistence | ❌ Ephemeral | ✅ Node-persistent | ✅ Cluster-persistent |
| Multi-Node | ✅ Supported | ❌ Single-node only | ✅ Supported |
| Production Ready | ❌ No | ❌ No | ✅ Yes |
| Performance | High | Highest | Storage-dependent |
| Data Safety | Low | Medium | High |