zoo-devnet: trunk could not be applied without breaking the validator
Two ways origin/main disagreed with the live cluster, both of which only bite on the next clean `apply -k`: NETWORK_HEALTH_MIN_CONN_PEERS was absent. A single-validator devnet has no peers, so luxd's default health gate (min 1 connected peer) holds the pod at 0/1 forever. The LIVE StatefulSet already runs --network-health-min-conn-peers=0; trunk just had no way to reproduce it. The key went missing when HTTP_ALLOWED_HOSTS was added to this same `config:` block — the edit landed beside it and took its sibling with it. tag was pinned to 0.2.0 while the live node runs ghcr.io/zooai/node:0.2.2 (the plugin-dir fix). Applying trunk downgraded the validator. Neither showed up as an outage because nothing re-applies this overlay on a schedule — no flux, no argo, no cronjob on zoo-k8s. It would have detonated under whoever ran the next apply, which is the worst time to find it. `kubectl kustomize k8s/zoo-devnet` now renders NETWORK_HEALTH_MIN_CONN_PEERS "0" and tag 0.2.2, matching production. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -17,7 +17,7 @@ spec:
|
||||
# statefulset-patch.yaml (./luxd -> zood).
|
||||
image:
|
||||
repository: ghcr.io/zooai/node
|
||||
tag: 0.2.0
|
||||
tag: 0.2.2
|
||||
pullPolicy: IfNotPresent
|
||||
resources:
|
||||
cpuRequest: "200m"
|
||||
@@ -37,6 +37,13 @@ spec:
|
||||
# explorer could reach the Service and still index nothing. The Service is
|
||||
# ClusterIP and devnet is not publicly routed.
|
||||
HTTP_ALLOWED_HOSTS: "*"
|
||||
# Single-validator devnet has no peers, so the default network-health gate
|
||||
# (min 1 connected peer) would hold the pod at 0/1 forever. 0 = healthy alone.
|
||||
# The LIVE StatefulSet already runs --network-health-min-conn-peers=0; this
|
||||
# key is what makes an apply of this overlay reproduce that rather than hang
|
||||
# the validator. It went missing when HTTP_ALLOWED_HOSTS was added to this
|
||||
# same block, so trunk drifted out of agreement with production.
|
||||
NETWORK_HEALTH_MIN_CONN_PEERS: "0"
|
||||
---
|
||||
apiVersion: zoo.network/v1alpha1
|
||||
kind: ZooChain
|
||||
|
||||
Reference in New Issue
Block a user