apps/ente/resources/cast/deployment.yaml

47 lines
1.2 KiB
YAML
Raw Normal View History

# yaml-language-server: $scheme=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.30.2-standalone-strict/deployment-apps-v1.json
2024-05-13 17:06:06 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
2024-05-19 11:50:07 +02:00
name: cast
2024-05-13 17:06:06 +02:00
spec:
replicas: 2
2024-09-08 09:37:07 +02:00
revisionHistoryLimit: 3
2024-05-13 17:06:06 +02:00
selector:
matchLabels:
2024-05-19 11:50:07 +02:00
app.kubernetes.io/name: cast
2024-05-13 17:06:06 +02:00
app.kubernetes.io/part-of: ente
template:
metadata:
labels:
2024-05-19 11:50:07 +02:00
app.kubernetes.io/name: cast
2024-05-13 17:06:06 +02:00
app.kubernetes.io/part-of: ente
spec:
containers:
2025-03-25 14:46:20 +01:00
- name: cast
image: cast
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
readinessProbe:
httpGet:
port: 3000
path: /
scheme: HTTP
imagePullSecrets:
- name: harbor-registry-credentials
2024-05-13 17:06:06 +02:00
nodeSelector:
2025-03-25 14:46:20 +01:00
kubernetes.io/arch: arm64