File tree Expand file tree Collapse file tree
deploy/cht_sync/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44apiVersion : apps/v1
55kind : Deployment
66metadata :
7- name : cht-sync-dbt
7+ name : cht-sync-dbt-{{ $index }}
88spec :
99 replicas : 1
1010 selector :
1111 matchLabels :
12- app : cht-sync-dbt
12+ app : cht-sync-dbt-{{ $index }}
1313 template :
1414 metadata :
1515 labels :
16- app : cht-sync-dbt
16+ app : cht-sync-dbt-{{ $index }}
1717 spec :
1818 automountServiceAccountToken : false
1919 containers :
4646 value : {{ $.Values.dbt_thread_count | default "1" | quote }}
4747 - name : DBT_SELECTOR
4848 value : {{ $dbt_selector }}
49- value : {{ .Values.dbt_thread_count | default "1" | quote }}
5049 - name : DBT_BATCH_SIZE
51- value : {{ .Values.dbt_batch_size | default "" | quote }}
50+ value : {{ $ .Values.dbt_batch_size | default "" | quote }}
5251{{- end }}
Original file line number Diff line number Diff line change 1010 - protocol : TCP
1111 port : {{ .Values.postgres.port | default "5432" }}
1212 targetPort : 5432
13+ {{- if .Values.postgres.nodePort }}
14+ nodePort : {{ .Values.postgres.nodePort }}
15+ {{- end }}
1316{{- end }}
Original file line number Diff line number Diff line change 3838 volumeMounts :
3939 - name : postgres-data
4040 mountPath : /var/lib/postgresql/data
41+ - name : postgres-shm
42+ mountPath : /dev/shm
4143 volumes :
4244 - name : postgres-data
4345 persistentVolumeClaim :
4446 claimName : postgres-pvc
47+ - name : postgres-shm
48+ emptyDir :
49+ medium : Memory
50+ sizeLimit : {{ (.Values.postgres).memory_limit | default "2Gi" }}
4551{{- end }}
You can’t perform that action at this time.
0 commit comments