Skip to content

Commit dd60bba

Browse files
committed
Mounting extractor
1 parent 78a7cc4 commit dd60bba

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

deployments/kubernetes/charts/clowder2/ibm-hpc.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,13 @@ extractors:
8484
wordcount:
8585
enabled: true
8686
image: clowder/extractors-wordcount:latest
87+
rcnn-iwp-inference:
88+
enabled: true
89+
image: vismayak/rcnn_iwp_inference_extractor_k8:latest
90+
volumes:
91+
- name: minio-storage
92+
hostPath:
93+
path: /mnt/ibm-hpc-clowderfs
94+
volumeMounts:
95+
- name: minio-storage
96+
mountPath: /clowderfs

deployments/kubernetes/charts/clowder2/templates/extractors/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
{{- with $.Values.imagePullSecrets }}
2828
imagePullSecrets:
2929
{{- toYaml . | nindent 8 }}
30+
{{- end }}
31+
{{- if .volumes }}
32+
volumes:
33+
{{- toYaml .volumes | nindent 8 }}
3034
{{- end }}
3135
containers:
3236
- name: extractor
@@ -57,6 +61,10 @@ spec:
5761
{{- if .env }}
5862
{{- toYaml .env | nindent 12 }}
5963
{{- end }}
64+
{{- if .volumeMounts }}
65+
volumeMounts:
66+
{{- toYaml .volumeMounts | nindent 12 }}
67+
{{- end }}
6068
{{- if .resources }}
6169
resources:
6270
{{- toYaml .resources | nindent 12 }}

0 commit comments

Comments
 (0)