From a47da51c543ec0ab25b401932069bbc5bc67e329 Mon Sep 17 00:00:00 2001 From: Phillip Wirth Date: Fri, 3 Jan 2025 18:03:46 +0100 Subject: [PATCH] BC-8627 major valkey update --- ansible/roles/tldraw-valkey/defaults/main.yaml | 2 +- ansible/roles/tldraw-valkey/tasks/main.yml | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ansible/roles/tldraw-valkey/defaults/main.yaml b/ansible/roles/tldraw-valkey/defaults/main.yaml index 2f4ee3e1..08d091ad 100644 --- a/ansible/roles/tldraw-valkey/defaults/main.yaml +++ b/ansible/roles/tldraw-valkey/defaults/main.yaml @@ -1,2 +1,2 @@ -TLDRAW_VALKEY_CHART_VERSION: 0.3.17 +TLDRAW_VALKEY_CHART_VERSION: 2.2.1 TLDRAW_VALKEY_REPLICAS: 3 \ No newline at end of file diff --git a/ansible/roles/tldraw-valkey/tasks/main.yml b/ansible/roles/tldraw-valkey/tasks/main.yml index f0e6764b..d8e574c4 100644 --- a/ansible/roles/tldraw-valkey/tasks/main.yml +++ b/ansible/roles/tldraw-valkey/tasks/main.yml @@ -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 @@ -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) }}" @@ -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) }}" @@ -40,9 +46,6 @@ auth: existingSecret: tldraw-valkey-password existingSecretPasswordKey: REDIS_SENTINEL_PASSWORD - master: - readinessProbe: - timeoutSeconds: 5 sentinel: enabled: true readinessProbe: