Skip to content

Commit

Permalink
BC-8627 major valkey update
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Afro committed Jan 3, 2025
1 parent a9b0669 commit a47da51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/tldraw-valkey/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TLDRAW_VALKEY_CHART_VERSION: 0.3.17
TLDRAW_VALKEY_CHART_VERSION: 2.2.1
TLDRAW_VALKEY_REPLICAS: 3
11 changes: 7 additions & 4 deletions ansible/roles/tldraw-valkey/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
kubernetes.core.helm:
chart_ref: oci://docker.io/bitnamicharts/valkey
chart_version: "{{ TLDRAW_VALKEY_CHART_VERSION }}"
release_name: valkey
release_name: tldraw-valkey
release_namespace: "{{ NAMESPACE }}"
release_state: present
create_namespace: yes
Expand All @@ -22,6 +22,8 @@
defaultStorageClass: "{{ SC_DEFAULT_STORAGE_CLASS_NAME }}"
replica:
replicaCount: "{{ TLDRAW_VALKEY_REPLICAS }}"
pdb:
create: false
resources:
limits:
cpu: "{{ TLDRAW_VALKEY_CPU_LIMITS|default('1000m', true) }}"
Expand All @@ -30,6 +32,10 @@
cpu: "{{ TLDRAW_VALKEY_CPU_REQUESTS|default('100m', true) }}"
memory: "{{ TLDRAW_VALKEY_MEMORY_REQUESTS|default('1Gi', true) }}"
primary:
pdb:
create: false
readinessProbe:
timeoutSeconds: 5
resources:
limits:
cpu: "{{ TLDRAW_VALKEY_CPU_LIMITS|default('1000m', true) }}"
Expand All @@ -40,9 +46,6 @@
auth:
existingSecret: tldraw-valkey-password
existingSecretPasswordKey: REDIS_SENTINEL_PASSWORD
master:
readinessProbe:
timeoutSeconds: 5
sentinel:
enabled: true
readinessProbe:
Expand Down

0 comments on commit a47da51

Please sign in to comment.