Skip to content

Commit 1be2b42

Browse files
committed
Kuberay extractor working infra
1 parent ea81a4b commit 1be2b42

File tree

4 files changed

+83
-22
lines changed

4 files changed

+83
-22
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
image:
2+
repository: vismayak/clowder-ray
3+
tag: latest
4+
pullPolicy: Always
5+
6+
head:
7+
resources:
8+
limits:
9+
cpu: "2"
10+
memory: "4G"
11+
requests:
12+
cpu: "2"
13+
memory: "4G"
14+
volumes:
15+
- name: minio-dataset
16+
persistentVolumeClaim:
17+
claimName: minio-dataset
18+
volumeMounts:
19+
- name: minio-dataset
20+
mountPath: /clowderfs
21+
22+
worker:
23+
replicas: 2
24+
minReplicas: 2
25+
maxReplicas: 2
26+
resources:
27+
limits:
28+
cpu: "2"
29+
memory: "8G"
30+
requests:
31+
cpu: "2"
32+
memory: "8G"
33+
volumes:
34+
- name: minio-dataset
35+
persistentVolumeClaim:
36+
claimName: minio-dataset
37+
volumeMounts:
38+
- name: minio-dataset
39+
mountPath: /clowderfs

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

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,45 @@ heartbeat:
8686
tag: release-v2.0-beta-3
8787

8888
extractors:
89-
wordcount:
89+
# wordcount:
90+
# enabled: true
91+
# image: clowder/extractors-wordcount:latest
92+
# rcnn-iwp-inference:
93+
# enabled: true
94+
# image: vismayak/rcnn_iwp_inference_extractor_k8:latest
95+
# env:
96+
# - name: MINIO_MOUNTED_PATH
97+
# value: /clowderfs
98+
# volumes:
99+
# - name: minio-dataset
100+
# persistentVolumeClaim:
101+
# claimName: minio-dataset
102+
# volumeMounts:
103+
# - name: minio-dataset
104+
# mountPath: /clowderfs
105+
# rcnn-iwp-finetuning:
106+
# enabled: true
107+
# image: vismayak/rcnn_iwp_finetuning_extractor_k8:latest
108+
# env:
109+
# - name: MINIO_MOUNTED_PATH
110+
# value: /clowderfs
111+
# volumes:
112+
# - name: minio-dataset
113+
# persistentVolumeClaim:
114+
# claimName: minio-dataset
115+
# volumeMounts:
116+
# - name: minio-dataset
117+
# mountPath: /clowderfs
118+
rcnn-iwp-inference-kuberay:
90119
enabled: true
91-
image: clowder/extractors-wordcount:latest
92-
rcnn-iwp-inference:
93-
enabled: true
94-
image: vismayak/rcnn_iwp_inference_extractor_k8:latest
95-
env:
96-
- name: MINIO_MOUNTED_PATH
97-
value: /clowderfs
98-
volumes:
99-
- name: minio-dataset
100-
persistentVolumeClaim:
101-
claimName: minio-dataset
102-
volumeMounts:
103-
- name: minio-dataset
104-
mountPath: /clowderfs
105-
rcnn-iwp-finetuning:
106-
enabled: true
107-
image: vismayak/rcnn_iwp_finetuning_extractor_k8:latest
120+
image: vismayak/rcnn_iwp_inference_kuberay:latest
108121
env:
109122
- name: MINIO_MOUNTED_PATH
110123
value: /clowderfs
124+
- name: CLOWDER_VERSION
125+
value: "2"
126+
- name: RAY_CLUSTER_URL
127+
value: "http://clowder-raycluster-kuberay-head-svc.ibm-hpc.svc.cluster.local:8265"
111128
volumes:
112129
- name: minio-dataset
113130
persistentVolumeClaim:

deployments/kubernetes/charts/clowder2/minio-credentials.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@ metadata:
44
name: minio-credentials
55
namespace: ibm-hpc
66
stringData:
7-
accessKeyID: accessKeyID
8-
secretAccessKey: secretAccessKey
7+
# MINIO_ENDPOINT: http://clowder2-minio:9000
8+
# MINIO_ACCESS_KEY: clowder
9+
# MINIO_SECRET_KEY: ilikecats
10+
# MINIO_MOUNT_POINT: /var/clowderfs
11+
# CLOWDER_VERSION: "2"
12+
accessKeyID: clowder
13+
secretAccessKey: ilikecats

deployments/kubernetes/charts/clowder2/minio-dataset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
namespace: ibm-hpc
66
spec:
77
local:
8-
readonly: "true"
8+
readonly: "false"
99
bucket: clowder
1010
endpoint: http://clowder2-minio.ibm-hpc.svc.cluster.local:9000/
1111
secret-name: minio-credentials
12-
type: COS
12+
type: COS

0 commit comments

Comments
 (0)