导入dbf文件到current_states
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-28 20:49:44 +08:00
parent 496276d513
commit 73d163fe0f
7 changed files with 107 additions and 4 deletions

View File

@@ -8,6 +8,15 @@ spec:
backoffLimit: 0
template:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: {{JOB_HOST_KEY}}
operator: In
values:
- {{JOB_HOST_NAME}}
containers:
- name: importer
image: {{IMAGE_REPO}}/databridge:{{IMAGE_TAG}}
@@ -16,9 +25,9 @@ spec:
- name: DATA_PVC_MOUNT_PATH
value: "/data"
- name: DBF_INPUT_DIR
value: "/data/data-import-export/dbf-input"
value: "/data/dbf-input"
- name: MAPPING_FILE
value: "/data/data-import-export/disney-mapping.xlsx"
value: "/data/disney-mapping.xlsx"
- name: DB_HOST
value: "{{DB_HOST}}"
- name: DB_PORT
@@ -39,10 +48,10 @@ spec:
resources:
requests:
cpu: "500m"
memory: "1Gi"
memory: "800Mi"
limits:
cpu: "1000m"
memory: "2Gi"
memory: "1700Mi"
volumes:
- name: data-volume
persistentVolumeClaim: