2024-05-13 15:06:06 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: web
|
|
|
|
spec:
|
|
|
|
replicas: 2
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: web
|
|
|
|
app.kubernetes.io/part-of: ente
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: web
|
|
|
|
app.kubernetes.io/part-of: ente
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: web
|
|
|
|
image: web
|
|
|
|
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: web
|
2024-05-15 16:06:22 +00:00
|
|
|
containerPort: 3000
|
2024-05-13 15:06:06 +00:00
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/arch: arm64
|