Files
hello-web/k8s/deployment.yaml
T
ZeptaLab Bot ca775da1f1
CI/CD / lint-and-test (push) Has been cancelled
CI/CD / build-and-push (push) Has been cancelled
CI/CD / deploy (push) Has been cancelled
feat: initial commit - Rust + React URL shortener
2026-05-31 20:45:50 +00:00

46 lines
989 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-web
labels:
app: hello-web
spec:
replicas: 2
selector:
matchLabels:
app: hello-web
template:
metadata:
labels:
app: hello-web
spec:
containers:
- name: hello-web
image: IMAGE_PLACEHOLDER
ports:
- containerPort: 3000
name: http
protocol: TCP
env:
- name: RUST_LOG
value: "info"
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
livenessProbe:
httpGet:
path: /health
port: 3000
initialDelaySeconds: 10
periodSeconds: 30
readinessProbe:
httpGet:
path: /health
port: 3000
initialDelaySeconds: 5
periodSeconds: 10