mirror of
https://github.com/hanzoai/status.git
synced 2026-10-30 18:21:48 +00:00
Replaces all ghcr.io/hanzoai/<svc>:latest pins with the latest published semver tag for each service. Per CLAUDE.md auto-bump policy: mutable branch tags (:latest, :main, :dev) are deprecated for cluster pins — only immutable semver permitted. Bulk update across services with published v* tags. Services without a published semver remain on :latest until their release pipeline cuts a v* tag.
92 lines
1.8 KiB
YAML
92 lines
1.8 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: status-data
|
|
labels:
|
|
app: status
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: do-block-storage
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: status
|
|
labels:
|
|
app: status
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app: status
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: status
|
|
spec:
|
|
containers:
|
|
- name: status
|
|
image: ghcr.io/hanzoai/status:1.0.1-arm64
|
|
ports:
|
|
- name: http
|
|
containerPort: 8080
|
|
protocol: TCP
|
|
env:
|
|
- name: GATUS_CONFIG_PATH
|
|
value: /config/config.yaml
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
readOnly: true
|
|
- name: data
|
|
mountPath: /data
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8080
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8080
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: status-config
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: status-data
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: status
|
|
labels:
|
|
app: status
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
app: status
|