apiVersion: dragonflydb.io/v1alpha1 kind: Dragonfly metadata: name: forgejo-public namespace: dragonfly spec: replicas: 2 image: docker.dragonflydb.io/dragonflydb/dragonfly:v2.0.2@sha256:061f00b201b58e12f974e4e96c761a881ee1c05e9d8ee967466a604b7299753b imagePullPolicy: IfNotPresent args: - --proactor_threads=1 - --maxmemory=256MiB - --cache_mode=true - --uring_disable_iowait=true aclFromSecret: name: forgejo-public-acl key: acl containerSecurityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL add: - SETUID - SETGID resources: requests: cpu: 50m memory: 128Mi limits: memory: 384Mi topologySpreadConstraints: - maxSkew: 1 topologyKey: kubernetes.io/hostname whenUnsatisfiable: DoNotSchedule labelSelector: matchLabels: app: forgejo-public app.kubernetes.io/name: dragonfly