From 1c4e04d6b038a785b0d1c19f586e2c58a0284284 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 23 Dec 2023 15:34:44 +0100 Subject: [PATCH] apps(sharkey): Increase the ratelimit again --- apps/sharkey/app/deploy.yaml | 12 ------------ apps/sharkey/app/middleware.yaml | 4 ++-- apps/sharkey/app/volume.yaml | 13 ------------- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/apps/sharkey/app/deploy.yaml b/apps/sharkey/app/deploy.yaml index 52e9edc..276e8ea 100644 --- a/apps/sharkey/app/deploy.yaml +++ b/apps/sharkey/app/deploy.yaml @@ -51,15 +51,6 @@ spec: - containerPort: 6379 name: redis protocol: TCP - - name: meilisearch - image: getmeili/meilisearch:v1.5 - volumeMounts: - - name: sharkey-meilisearch - mountPath: "/meili_data" - ports: - - containerPort: 7700 - name: redis - protocol: TCP volumes: - name: config-secret secret: @@ -77,9 +68,6 @@ spec: - name: sharkey-redis persistentVolumeClaim: claimName: sharkey-redis-pvc - - name: sharkey-meilisearch - persistentVolumeClaim: - claimName: sharkey-meilisearch-pvc - name: sharkey-config persistentVolumeClaim: claimName: sharkey-config-pvc diff --git a/apps/sharkey/app/middleware.yaml b/apps/sharkey/app/middleware.yaml index 7af8efb..3376bac 100644 --- a/apps/sharkey/app/middleware.yaml +++ b/apps/sharkey/app/middleware.yaml @@ -16,8 +16,8 @@ metadata: namespace: sharkey spec: rateLimit: - average: 120 - burst: 60 + average: 250 + burst: 120 period: 1s sourceCriterion: ipStrategy: diff --git a/apps/sharkey/app/volume.yaml b/apps/sharkey/app/volume.yaml index 43f2b73..aff9890 100644 --- a/apps/sharkey/app/volume.yaml +++ b/apps/sharkey/app/volume.yaml @@ -36,16 +36,3 @@ spec: resources: requests: storage: 1Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: sharkey-meilisearch-pvc - namespace: sharkey -spec: - accessModes: - - ReadWriteOnce - storageClassName: "ebs-ssd" - resources: - requests: - storage: 1Gi