# AI sync is suspended - not currently enabled for syncing apiVersion: batch/v1 kind: CronJob metadata: name: ha-sync-ai-dell-to-hp namespace: infrastructure spec: schedule: "*/15 * * * *" suspend: true concurrencyPolicy: Forbid successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 3 jobTemplate: spec: template: spec: serviceAccountName: ha-sync restartPolicy: OnFailure containers: - name: ha-sync image: ha-sync:latest imagePullPolicy: Never command: ["/usr/local/bin/ha-sync"] args: - --src=/mnt/dell/ai - --dest=/mnt/hp/ai - --pair=ai - --direction=dell-to-hp - --log-dir=/var/log/ha-sync - --exclude=*.sock - --exclude=*.pid - --exclude=*.lock - --exclude=lock env: - name: HA_SYNC_DB_DSN valueFrom: secretKeyRef: name: ha-sync-db-secret key: HA_SYNC_DB_DSN volumeMounts: - name: dell-data mountPath: /mnt/dell/ai - name: hp-data mountPath: /mnt/hp/ai - name: logs mountPath: /var/log/ha-sync resources: requests: { cpu: 50m, memory: 64Mi } limits: { cpu: 500m, memory: 256Mi } volumes: - name: dell-data persistentVolumeClaim: claimName: pvc-dell-ai - name: hp-data persistentVolumeClaim: claimName: pvc-hp-ai - name: logs persistentVolumeClaim: claimName: pvc-ha-sync-logs