Major collapses across 61 files (-2394 / +642, net -1752):
- Killed Zoo Auth Subnet: parallel auth chain contradicts hanzo.id Casdoor as canonical IAM
(deleted k8s/zoo-auth/, compose.auth.yml, auth-gateway/, chain-configs/auth-subnet-genesis.json)
- Postgres StatefulSet → SQLite + Litestream + MinIO replication (per memory no_postgres_sqlite_only)
Bridge becomes single-writer (replicas: 1) with restore init + replicate sidecar
- Plaintext Cloudflare API token in .env wiped; .env added to .gitignore
- 7× <your-domain> CI placeholders → kms.hanzo.ai
- 3 per-env manifests (3 × 130 lines, 90% dup) → 1 canonical manifests/services.yml (89 lines)
- 6 floating tags (:latest / :main) → :main-amd64 immutable per-arch
- Broken org refs ghcr.io/zoolabs/* + @zoolabs npm → ghcr.io/zooai/* + @zooai
- Workflow runner pool zoo-build-amd64 (wrong) → zoo-build-linux-amd64 (canonical)
- ENV var conflation ZOO_NETWORK_ID → LUX_NETWORK_ID + ZOO_EVM_CHAIN_ID
- Stale dev scripts (start/stop/status/setup.sh), convert-to-submodules.sh, Dockerfile.dev,
.gitmodules, zoo.id/ static page, retired ARC values, k8s/patches/ all removed
- Duplicate deploy.yml workflow (shadows ci.yml) killed
- Makefile extended with remote-ops targets (deploy-{dev,test,main}, pods-{dev,test,main}, verify)
Tier-1 metrics all zero: plaintext secrets, Postgres in source, /api/ in own routes, brand contamination.
Zoo L2 EVM on Lux mainnet remains GREEN (chainId 0x30e08, balance 5e27 wei).
All 4 kustomize overlays render clean (system=35, devnet=36, testnet=36, mainnet=39).
98 lines
2.3 KiB
YAML
98 lines
2.3 KiB
YAML
# S3-compatible object storage backing all SQLite WAL replicas (Litestream).
|
|
# Uses hanzoai/s3 (MinIO). One bucket per namespace overlay (zoo-data).
|
|
# Pair with: replicate.yaml (Litestream config) + bridge.yaml sidecar.
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: s3
|
|
labels:
|
|
app: s3
|
|
app.kubernetes.io/name: s3
|
|
app.kubernetes.io/part-of: zoo
|
|
spec:
|
|
ports:
|
|
- port: 9000
|
|
targetPort: 9000
|
|
name: s3
|
|
selector:
|
|
app: s3
|
|
clusterIP: None
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: s3
|
|
labels:
|
|
app: s3
|
|
app.kubernetes.io/name: s3
|
|
app.kubernetes.io/part-of: zoo
|
|
spec:
|
|
serviceName: s3
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: s3
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: s3
|
|
app.kubernetes.io/name: s3
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: ghcr-secret
|
|
- name: hanzo
|
|
containers:
|
|
- name: s3
|
|
image: ghcr.io/hanzoai/s3:1.0.0
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 9000
|
|
name: s3
|
|
env:
|
|
- name: MINIO_ROOT_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: s3-credentials
|
|
key: ACCESS_KEY
|
|
- name: MINIO_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: s3-credentials
|
|
key: SECRET_KEY
|
|
args: ["server", "/data"]
|
|
volumeMounts:
|
|
- name: s3-data
|
|
mountPath: /data
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /minio/health/ready
|
|
port: 9000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /minio/health/live
|
|
port: 9000
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 30
|
|
persistentVolumeClaimRetentionPolicy:
|
|
whenDeleted: Retain
|
|
whenScaled: Retain
|
|
volumeClaimTemplates:
|
|
- metadata:
|
|
name: s3-data
|
|
spec:
|
|
accessModes: ["ReadWriteOnce"]
|
|
storageClassName: do-block-storage
|
|
resources:
|
|
requests:
|
|
storage: 20Gi
|