From 504f3edf20e8f095e594e9908f014f6f02c7810d Mon Sep 17 00:00:00 2001
From: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date: Tue, 30 May 2023 09:08:57 +0200
Subject: [PATCH] swh/cassandra-replay: Remove the unused values file for the
 deprecated cassandra-replay deployment

Related toswh/infra/sysadm-environment#4707
---
 swh/values/cassandra-replay.yaml | 168 -------------------------------
 1 file changed, 168 deletions(-)
 delete mode 100644 swh/values/cassandra-replay.yaml

diff --git a/swh/values/cassandra-replay.yaml b/swh/values/cassandra-replay.yaml
deleted file mode 100644
index b9b7f9122..000000000
--- a/swh/values/cassandra-replay.yaml
+++ /dev/null
@@ -1,168 +0,0 @@
-namespace: cassandra-replay
-sentry:
-  environment: production
-
-storage_replayer:
-  enabled: true
-
-  affinity:
-    nodeAffinity:
-      requiredDuringSchedulingIgnoredDuringExecution:
-        nodeSelectorTerms:
-        - matchExpressions:
-          - key: "swh/replayer"
-            operator: In
-            values:
-            - "true"
-  journalBrokers:
-    hosts:
-      - kafka1.internal.softwareheritage.org:9094
-      - kafka2.internal.softwareheritage.org:9094
-      - kafka3.internal.softwareheritage.org:9094
-      - kafka4.internal.softwareheritage.org:9094
-    user: swh-cassandra-replayer-prod
-  cassandra:
-    initKeyspace: true # only to bootstrap a new cassandra database
-    seeds:
-      - cassandra01.internal.softwareheritage.org
-      - cassandra02.internal.softwareheritage.org
-      - cassandra03.internal.softwareheritage.org
-      - cassandra04.internal.softwareheritage.org
-      - cassandra05.internal.softwareheritage.org
-      - cassandra06.internal.softwareheritage.org
-      - cassandra07.internal.softwareheritage.org
-      - cassandra08.internal.softwareheritage.org
-  deployments:
-    # content:
-    #   objects:
-    #     - content
-    #   requestedCpu: 425m
-    #   requestedMemory: 200Mi
-    #   autoScaling:
-    #     maxReplicaCount: 64
-    # directory:
-    #   objects:
-    #     - directory
-    #   batchSize: 250
-    #   # Full replay
-    #   requestedCpu: 500m
-    #   #requestedMemory: 250Mi
-    #   #Follow up consumption
-    #   requestedMemory: 100Mi
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    #   specific_options:
-    #     directory_entries_insert_algo: batch
-    # extid:
-    #   objects:
-    #     - extid
-    #   batchSize: 1000
-    #   # Full replay
-    #   #requestedCpu: 400m
-    #   requestedMemory: 200Mi
-    #   #Follow up consumption
-    #   requestedCpu: 50m
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # metadata:
-    #   objects:
-    #     - metadata_authority
-    #     - metadata_fetcher
-    #   # follow up consumption
-    #   requestedCpu: 50m
-    #   requestedMemory: 100Mi
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # raw-extrinsic-metadata:
-    #   objects:
-    #     - raw_extrinsic_metadata
-    #   batchSize: 250
-    #   # Full replay
-    #   #requestedCpu: 400m
-    #   requestedMemory: 200Mi
-    #   # follow up consumption
-    #   requestedCpu: 50m
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # origin:
-    #   objects:
-    #     - origin
-    #   batchSize: 1000
-    #   # Full replay
-    #   #requestedCpu: 400m
-    #   requestedMemory: 200Mi
-    #   #Follow up consumption
-    #   requestedCpu: 50m
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # origin-visit:
-    #   objects:
-    #     - origin_visit
-    #   batchSize: 1000
-    #   # Full replay
-    #   # requestedCpu: 400m
-    #   # requestedMemory: 400Mi
-    #   #Follow up consumption
-    #   requestedCpu: 100m
-    #   requestedMemory: 100Mi
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # origin-visit-status:
-    #   objects:
-    #     - origin_visit_status
-    #   batchSize: 1000
-    #   # Full replay
-    #   #requestedCpu: 500m
-    #   #requestedMemory: 300Mi
-    #   #Follow up consumption
-    #   requestedCpu: 55m
-    #   requestedMemory: 200Mi
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # release:
-    #   objects:
-    #     - release
-    #   batchSize: 1000
-    #   privileged: true
-    #   # Full replay
-    #   #requestedCpu: 600m
-    #   requestedMemory: 300Mi
-    #   # follow up consumption
-    #   requestedCpu: 50m
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # revision:
-    #   objects:
-    #     - revision
-    #   batchSize: 1000
-    #   privileged: true
-    #   # Full replay
-    #   # requestedCpu: 750m
-    #   # requestedMemory: 750Mi
-    #   # follow up consumption
-    #   requestedCpu: 50m
-    #   requestedMemory: 400Mi
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # skipped-content:
-    #   objects:
-    #     - skipped_content
-    #   batchSize: 100
-    #   # Full replay
-    #   #requestedCpu: 300m
-    #   requestedMemory: 400Mi
-    #   # follow up consumption
-    #   requestedCpu: 50m
-    #   autoScaling:
-    #     maxReplicaCount: 5
-    # snapshot:
-    #   objects:
-    #     - snapshot
-    #   batchSize: 250
-    #   # Full replay
-    #   # requestedCpu: 400m
-    #   requestedMemory: 250Mi
-    #   # follow up consumption
-    #   requestedCpu: 80m
-    #   autoScaling:
-    #     maxReplicaCount: 5
-- 
GitLab