mirror of
https://github.com/hanzoai/nchain.git
synced 2026-10-30 18:27:22 +00:00
Samples are copy-paste templates; modelling tag: latest in them spreads the floating-tag anti-pattern. Pin sample tags to v1.0.0 so the documented deployment pattern is the correct one.
34 lines
585 B
YAML
34 lines
585 B
YAML
apiVersion: nchain.hanzo.ai/v1alpha1
|
|
kind: NodeCluster
|
|
metadata:
|
|
name: eth-archive
|
|
namespace: ethereum
|
|
spec:
|
|
protocol: ethereum
|
|
networkID: "1"
|
|
replicas: 2
|
|
role: archive
|
|
image:
|
|
repository: ghcr.io/hanzoai/reth
|
|
tag: v1.0.0
|
|
ports:
|
|
rpc: 8545
|
|
p2p: 30303
|
|
metrics: 9090
|
|
additional:
|
|
- name: authrpc
|
|
port: 8551
|
|
storage:
|
|
storageClassName: fast-ssd
|
|
size: 2Ti
|
|
retentionPolicy: Retain
|
|
resources:
|
|
requests:
|
|
cpu: "4"
|
|
memory: 16Gi
|
|
limits:
|
|
cpu: "8"
|
|
memory: 32Gi
|
|
upgradeStrategy:
|
|
type: OnDelete
|