Files
docs/apps/bot-docs/k8s/deployment.yaml
zeekay e23d5b16ab feat(bot-docs): add K8s deployment and service manifests
Add deployment.yaml with 2-replica nginx deployment and ClusterIP service
for bot-docs, enabling ingress routing from hanzo.bot domain.
2026-02-14 11:41:53 -08:00

56 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: bot-docs
namespace: hanzo
labels:
app: bot-docs
spec:
replicas: 2
selector:
matchLabels:
app: bot-docs
template:
metadata:
labels:
app: bot-docs
spec:
imagePullSecrets:
- name: ghcr-secret
containers:
- name: bot-docs
image: ghcr.io/hanzoai/bot-docs:latest
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 3
periodSeconds: 5
resources:
requests:
memory: "32Mi"
cpu: "10m"
limits:
memory: "64Mi"
cpu: "100m"
---
apiVersion: v1
kind: Service
metadata:
name: bot-docs
namespace: hanzo
spec:
selector:
app: bot-docs
ports:
- port: 80
targetPort: 80