mirror of
https://github.com/zoo-apps/gym.git
synced 2026-10-30 14:57:09 +00:00
quarto render now succeeds CPU-only with no framework import: - _quarto.yml: drop pre-render config generator + quartodoc API block (both require importing torch/transformers + GPU-only mamba_ssm) - docs/config-reference.qmd: hand-written reference (force-tracked) so the six in-doc links resolve - docs/custom_integrations.qmd: fix hardcoded src/axolotl -> src/gym path - Dockerfile.site: slim quarto+jupyter build, serve _site via hanzoai/spa - deploy/k8s.yaml: zoo-gym Deployment+Service+IngressRoute in zoo-mainnet
81 lines
1.7 KiB
YAML
81 lines
1.7 KiB
YAML
# gym.zoo.ngo — Zoo Gym docs (Quarto static site served via ghcr.io/hanzoai/spa)
|
|
# Mirrors the live zoo-mainnet/zoo-computer objects exactly.
|
|
# Image tag is patched in at deploy time (sha-<short>).
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zoo-gym
|
|
namespace: zoo-mainnet
|
|
labels:
|
|
app: zoo-gym
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: zoo-gym
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: zoo-gym
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: ghcr-luxfi
|
|
containers:
|
|
- name: spa
|
|
image: IMAGE_PLACEHOLDER
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3000
|
|
protocol: TCP
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 3000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 3000
|
|
initialDelaySeconds: 2
|
|
periodSeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 32Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zoo-gym
|
|
namespace: zoo-mainnet
|
|
labels:
|
|
app: zoo-gym
|
|
spec:
|
|
selector:
|
|
app: zoo-gym
|
|
ports:
|
|
- port: 3000
|
|
targetPort: 3000
|
|
protocol: TCP
|
|
---
|
|
apiVersion: hanzo.ai/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: zoo-gym
|
|
namespace: zoo-mainnet
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`gym.zoo.ngo`)
|
|
services:
|
|
- name: zoo-gym
|
|
port: 3000
|
|
tls:
|
|
certResolver: letsencrypt
|