apps/ente/resources/cast/deployment.yaml

43 lines
1.1 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 15:06:06 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
2024-05-19 09:50:07 +00:00
name: cast
2024-05-13 15:06:06 +00:00
spec:
replicas: 2
selector:
matchLabels:
2024-05-19 09:50:07 +00:00
app.kubernetes.io/name: cast
2024-05-13 15:06:06 +00:00
app.kubernetes.io/part-of: ente
template:
metadata:
labels:
2024-05-19 09:50:07 +00:00
app.kubernetes.io/name: cast
2024-05-13 15:06:06 +00:00
app.kubernetes.io/part-of: ente
spec:
containers:
2024-05-19 09:50:07 +00:00
- name: cast
image: cast
2024-05-13 15:06:06 +00:00
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:
2024-05-19 09:50:07 +00:00
- name: http
2024-05-15 16:06:22 +00:00
containerPort: 3000
2024-06-25 18:26:44 +00:00
readinessProbe:
httpGet:
port: 3000
path: /
scheme: HTTP
2024-05-13 15:06:06 +00:00
nodeSelector:
kubernetes.io/arch: arm64