Files
homelab/k8s/apps/web-petting/deployment.yaml
T

50 lines
1023 B
YAML
Raw Normal View History

2026-04-29 17:40:54 +03:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: web-petting
labels:
app: web-petting
spec:
replicas: 1
selector:
matchLabels:
app: web-petting
template:
metadata:
labels:
app: web-petting
spec:
nodeSelector:
kubernetes.io/os: linux
volumes:
- name: data
persistentVolumeClaim:
claimName: web-petting-data
containers:
- name: web-petting
2026-04-29 17:51:51 +03:00
image: ultradesu/web-petting:0.1.0
2026-04-29 17:40:54 +03:00
imagePullPolicy: Always
args:
2026-04-29 17:57:11 +03:00
# - "tail"
# - "-F"
# - "/1"
- "web-petting"
- "-l"
- "0.0.0.0:3000"
2026-04-29 17:40:54 +03:00
ports:
- containerPort: 3000
name: http
volumeMounts:
- name: data
mountPath: /data
env:
- name: RUST_LOG
value: "info"
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "150m"