diff --git a/components/job-orchestration/job_orchestration/garbage_collector/archive_garbage_collector.py b/components/job-orchestration/job_orchestration/garbage_collector/archive_garbage_collector.py index c8dbcac0b4..d8c2cf4b89 100644 --- a/components/job-orchestration/job_orchestration/garbage_collector/archive_garbage_collector.py +++ b/components/job-orchestration/job_orchestration/garbage_collector/archive_garbage_collector.py @@ -202,7 +202,7 @@ async def archive_garbage_collector( validate_storage_type(archive_output_config, storage_engine) sweep_interval_secs = clp_config.garbage_collector.sweep_interval.archive * MIN_TO_SECONDS - recovery_file = clp_config.logs_directory / f"{ARCHIVE_GARBAGE_COLLECTOR_NAME}.tmp" + recovery_file = clp_config.tmp_directory / f"{ARCHIVE_GARBAGE_COLLECTOR_NAME}.tmp" logger.info(f"{ARCHIVE_GARBAGE_COLLECTOR_NAME} started.") try: diff --git a/tools/deployment/package-helm/Chart.yaml b/tools/deployment/package-helm/Chart.yaml index 2a38fb8b15..727c963b80 100644 --- a/tools/deployment/package-helm/Chart.yaml +++ b/tools/deployment/package-helm/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v2" name: "clp" -version: "0.1.4-dev.2" +version: "0.1.4-dev.3" description: "A Helm chart for CLP's (Compressed Log Processor) package deployment" type: "application" appVersion: "0.9.1-dev" diff --git a/tools/deployment/package-helm/templates/garbage-collector-deployment.yaml b/tools/deployment/package-helm/templates/garbage-collector-deployment.yaml index b2926231f0..e754ca03e6 100644 --- a/tools/deployment/package-helm/templates/garbage-collector-deployment.yaml +++ b/tools/deployment/package-helm/templates/garbage-collector-deployment.yaml @@ -71,7 +71,7 @@ spec: subPath: "clp-config.yaml" readOnly: true - name: "tmp" - mountPath: "/var/log" + mountPath: "/var/tmp" {{- if eq .Values.clpConfig.archive_output.storage.type "fs" }} - name: {{ include "clp.volumeName" (dict "component_category" "shared-data" diff --git a/tools/deployment/package/docker-compose-all.yaml b/tools/deployment/package/docker-compose-all.yaml index 0683efa2d2..187fd6b2a6 100644 --- a/tools/deployment/package/docker-compose-all.yaml +++ b/tools/deployment/package/docker-compose-all.yaml @@ -417,6 +417,7 @@ services: volumes: - *volume_clp_config_readonly - *volume_clp_logs + - *volume_clp_tmp - "${CLP_ARCHIVE_OUTPUT_DIR_HOST:-empty}:/var/data/archives" - "${CLP_AWS_CONFIG_DIR_HOST:-empty}:/opt/clp/.aws:ro" - "${CLP_STREAM_OUTPUT_DIR_HOST:-empty}:/var/data/streams"