apps/vikunja/resources/ui/deployment.yaml

43 lines
1.1 KiB
YAML
Raw Normal View History

2023-11-14 21:12:33 +00:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: vikunja-ui
spec:
replicas: 2
2023-11-14 21:12:33 +00:00
selector:
matchLabels:
app.kubernetes.io/name: vikunja
app.kubernetes.io/component: ui
app.kubernetes.io/part-of: vikunja
template:
metadata:
labels:
app.kubernetes.io/name: vikunja
app.kubernetes.io/component: ui
app.kubernetes.io/part-of: vikunja
spec:
containers:
- name: vikunja-ui
image: vikunja-ui
env:
- name: VIKUNJA_API_URL
value: https://todo.icb4dc0.de/api/v1
- name: VIKUNJA_HTTP_PORT
value: "8080"
resources:
limits:
memory: "128Mi"
cpu: "50m"
ports:
- containerPort: 8080
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64