43 lines
No EOL
1.1 KiB
YAML
43 lines
No EOL
1.1 KiB
YAML
# yaml-language-server: $scheme=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.30.2-standalone-strict/deployment-apps-v1.json
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cast
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: cast
|
|
app.kubernetes.io/part-of: ente
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: cast
|
|
app.kubernetes.io/part-of: ente
|
|
spec:
|
|
containers:
|
|
- 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
|
|
nodeSelector:
|
|
kubernetes.io/arch: arm64 |