mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-09 21:30:39 +02:00
![feisar-bot[bot]](/assets/img/avatar_default.png)
| datasource | package | from | to | | ---------- | ----------------------------- | ------- | ------- | | docker | ghcr.io/dragonflydb/dragonfly | v1.29.0 | v1.30.0 |
26 lines
727 B
YAML
26 lines
727 B
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/dragonflydb.io/dragonfly_v1alpha1.json
|
|
apiVersion: dragonflydb.io/v1alpha1
|
|
kind: Dragonfly
|
|
metadata:
|
|
name: dragonfly
|
|
spec:
|
|
image: ghcr.io/dragonflydb/dragonfly:v1.30.0@sha256:9e1cef2265638959a81e43a96913b01f0532ace8665f3684fe24036a425ce68e
|
|
replicas: 4 # set to the number of nodes in the cluster
|
|
env:
|
|
- name: MAX_MEMORY
|
|
valueFrom:
|
|
resourceFieldRef:
|
|
resource: limits.memory
|
|
divisor: 1Mi
|
|
args:
|
|
- --maxmemory=$(MAX_MEMORY)Mi
|
|
- --proactor_threads=2
|
|
- --cluster_mode=emulated
|
|
- --default_lua_flags=allow-undeclared-keys
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
limits:
|
|
memory: 512Mi
|