Files
fluxer/deploy/helm/uploads/values.yaml
T

60 lines
1.6 KiB
YAML

# SPDX-License-Identifier: AGPL-3.0-or-later
global:
namespace: fluxer
imagePullSecret: ghcr-pull-secret
registry: ""
app:
name: ''
image: fluxer-media-proxy
tag: ''
replicas: 4
port: 8080
env:
- name: FLUXER_MEDIA_PROXY_MODE
value: upload
- name: FLUXER_MEDIA_PROXY_STORAGE_BACKEND
value: s3
- name: FLUXER_MEDIA_PROXY_READ_ONLY
value: 'false'
- name: FLUXER_MEDIA_PROXY_SOCKET_IO_TIMEOUT_MS
value: '300000'
- name: FLUXER_MEDIA_PROXY_UPLOAD_RELAY_S3_TIMEOUT_MS
value: '900000'
# Buffer parts up to this size in memory so the relay can replay them on
# transient Vultr Object Storage hiccups. 32 MiB covers every realistic
# part (max ~25 MiB for a 500 MiB premium upload). Larger parts fall back
# to single-shot streaming.
- name: FLUXER_MEDIA_PROXY_UPLOAD_RELAY_BUFFERED_RETRY_BYTES
value: '33554432'
# Pod-wide budget. With 1.5 GiB pod limit, 512 MiB keeps buffered uploads
# well clear of the ceiling even under burst.
- name: FLUXER_MEDIA_PROXY_UPLOAD_RELAY_BUFFERED_RETRY_TOTAL_BYTES
value: '536870912'
- name: FLUXER_MEDIA_PROXY_UPLOAD_RELAY_SECRET_BASE64
valueFrom:
secretKeyRef:
name: fluxer-upload-relay
key: relay_secret_base64
resources:
requests:
cpu: 200m
memory: 384Mi
limits:
memory: 1536Mi
startupProbe:
enabled: true
path: /_health
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 24
preStopDrain:
enabled: true
terminationGracePeriodSeconds: 120
pdb:
minAvailable: '50%'