导入dbf文件到current_states
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user