apps/ente/resources/photos/deployment.yaml
Peter Kurfer 738fe480ba
All checks were successful
Renovate / renovate (push) Successful in 24s
feat(ente): deploy cast
2024-05-19 11:50:27 +02:00

37 lines
No EOL
856 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: photos
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: photos
app.kubernetes.io/part-of: ente
template:
metadata:
labels:
app.kubernetes.io/name: photos
app.kubernetes.io/part-of: ente
spec:
containers:
- name: photos
image: photos
imagePullPolicy: Always
env:
- name: ENDPOINT
value: https://api.ente.icb4dc0.de
- name: ALBUMS_ENDPOINT
value: https://albums.ente.icb4dc0.de
resources:
requests:
memory: "64Mi"
cpu: "25m"
limits:
memory: "128Mi"
cpu: "50m"
ports:
- name: http
containerPort: 3000
nodeSelector:
kubernetes.io/arch: arm64