Per separation-of-concerns: hanzo universe was holding 11 manifests
that target lux-k8s. Moved them here where they belong.
Imported into k8s/lux-k8s/:
- agnost/, api-gateway/, bootnode-lux/, bridge/, exchange/,
explorer/, operator/ (unique to hanzo universe, fresh copies)
- gateway/ (hanzo had newer pins than lux's local copy)
Skipped: validators/ — lux universe already has the newer
(luxd v1.27.4) version. Hanzo's older v1.23.31 copy is being
dropped, not merged.
Imported into k8s/:
- status/{deployment,configmap,ingressroute}.yaml
(Hanzo status SPA in lux-system ns on lux-k8s)
- nchain/crs/mainnet.yaml
(Network CR for lux-mainnet ns on lux-k8s)
99 lines
2.1 KiB
YAML
99 lines
2.1 KiB
YAML
# Status - Uptime monitoring dashboard (Gatus)
|
|
# Requires: status-config ConfigMap, status-data PVC
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: status-lux-data
|
|
namespace: lux-system
|
|
labels:
|
|
app: status-lux
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: do-block-storage
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: status-lux
|
|
namespace: lux-system
|
|
labels:
|
|
app: status-lux
|
|
app.kubernetes.io/name: status
|
|
app.kubernetes.io/part-of: hanzo-universe
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app: status-lux
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: status-lux
|
|
spec:
|
|
containers:
|
|
- name: status
|
|
image: ghcr.io/hanzoai/status:fab9e6feb6425e1e4bfa49bb408077f47bad7eb1
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
protocol: TCP
|
|
env:
|
|
- name: GATUS_CONFIG_PATH
|
|
value: /config/config.yaml
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
readOnly: true
|
|
- name: data
|
|
mountPath: /data
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8080
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8080
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: status-lux-config
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: status-lux-data
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: status-lux
|
|
namespace: lux-system
|
|
labels:
|
|
app: status-lux
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: status-lux
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 8080
|
|
protocol: TCP
|