From d2eb050ed4c026c51949e64941c0484ab0489708 Mon Sep 17 00:00:00 2001 From: BinamB Date: Tue, 23 Jul 2024 10:44:10 -0500 Subject: [PATCH] Fix file --- ...ration.yaml => indexd-single-table-migration-job.yaml} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename kube/services/jobs/{indexd-single-table-migration.yaml => indexd-single-table-migration-job.yaml} (93%) diff --git a/kube/services/jobs/indexd-single-table-migration.yaml b/kube/services/jobs/indexd-single-table-migration-job.yaml similarity index 93% rename from kube/services/jobs/indexd-single-table-migration.yaml rename to kube/services/jobs/indexd-single-table-migration-job.yaml index 5d576fa53..1892880d9 100644 --- a/kube/services/jobs/indexd-single-table-migration.yaml +++ b/kube/services/jobs/indexd-single-table-migration-job.yaml @@ -60,8 +60,12 @@ spec: subPath: config_helper.py - name: "creds-volume-bk" readOnly: true - mountPath: /var/www/indexd/creds_bk.json"" + mountPath: "/var/www/indexd/creds_bk.json" subPath: creds.json + resources: + requests: + cpu: 1000m + memory: 1Gi imagePullPolicy: Always command: ["/bin/bash"] args: @@ -74,3 +78,5 @@ spec: time python /indexd/bin/migrate_to_single_table.py $flags echo "Exit code: $?" restartPolicy: Never + +