ce7cb702218693d08ea6d83464d2457c9250027c

This commit is contained in:
ms2k 2026-11-12 20:46:28 +09:00
commit 34c5f8963c
4 changed files with 145336 additions and 0 deletions

View file

@ -0,0 +1,39 @@
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: forgejo
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-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
app.kubernetes.io/name: dragonfly

View file

@ -0,0 +1,39 @@
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

View file

@ -0,0 +1,39 @@
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: quay
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: quay-acl
key: acl
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
add:
- SETUID
- SETGID
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
memory: 384Mi
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: quay
app.kubernetes.io/name: dragonfly

View file

@ -0,0 +1,39 @@
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: stalwart
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: stalwart-acl
key: acl
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
add:
- SETUID
- SETGID
resources:
requests:
cpu: 25m
memory: 128Mi
limits:
memory: 384Mi
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: stalwart
app.kubernetes.io/name: dragonfly