diff --git a/devfiles/btk/devfile.yaml b/devfiles/btk/devfile.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ce821daabcc4c48b4432b4747ccb9f216841662f --- /dev/null +++ b/devfiles/btk/devfile.yaml @@ -0,0 +1,87 @@ +metadata: + generateName: btk- +attributes: + editorFree: 'true' +components: + - endpoints: + - name: jupyter + port: 3100 + attributes: + type: ide + discoverable: 'false' + path: / + public: 'true' + protocol: http + referenceContent: | + kind: List + items: + - apiVersion: v1 + kind: Pod + metadata: + name: ws + labels: + name: ws + spec: + containers: + - name: jupyter + image: 'registry.eu-west-0.prod-cloud-ocb.orange-business.com/cloud-biomass-maap-dev/btk-jupyterlab:0.0.1' + imagePullPolicy: IfNotPresent + envFrom: + - configMapRef: + name: maap-configmap + mountSources: true + resources: + requests: + memory: 5000Mi + limits: + memory: 5000Mi + securityContext: + privileged: true + volumeMounts: + - name: s3fs-volume + mountPath: /projects/my-private-bucket + subPath: my-private-bucket + mountPropagation: HostToContainer + - name: s3fs + mountPath: "/etc/s3fs" + readOnly: true + - name: dotconda + mountPath: /projects/.conda + - name: s3fs + image: 'registry.eu-west-0.prod-cloud-ocb.orange-business.com/cloud-biomass-maap/che-s3-storage:master' + imagePullPolicy: IfNotPresent + envFrom: + - configMapRef: + name: maap-configmap + resources: + limits: + memory: 256Mi + securityContext: + privileged: true + volumeMounts: + - name: s3fs-volume + mountPath: /my-private-bucket + subPath: my-private-bucket + mountPropagation: Bidirectional + imagePullSecrets: + - name: secret-docker-bimaap + volumes: + - name: s3fs + secret: + secretName: s3-credential + - name: s3fs-volume + emptyDir: {} + - name: dotconda + emptyDir: {} + type: kubernetes + volumes: + - name: projects + containerPath: /projects + alias: maap-jupyterlab + env: + - value: WS_JUPYTER + name: MACHINE_NAME + - value: /projects + name: JUPYTER_NOTEBOOK_DIR +apiVersion: 1.0.0 + diff --git a/devfiles/btk/meta.yaml b/devfiles/btk/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9ec9229f55ce7085e58e5c205ac96b2d7d1b6f9 --- /dev/null +++ b/devfiles/btk/meta.yaml @@ -0,0 +1,5 @@ +displayName: BRIX-2 +description: BRIX-2 with Gdal, geopandas, numpy and scipy +tags: ["Jupyter", "Maap"] +icon: /images/brix-2.png +globalMemoryLimit: 2674Mi diff --git a/devfiles/sar-training/meta.yaml b/devfiles/sar-training/meta.yaml index f9ec9229f55ce7085e58e5c205ac96b2d7d1b6f9..cf3b0ed7bb7a231605d33cfc00a1bed737827a8d 100644 --- a/devfiles/sar-training/meta.yaml +++ b/devfiles/sar-training/meta.yaml @@ -1,5 +1,5 @@ -displayName: BRIX-2 -description: BRIX-2 with Gdal, geopandas, numpy and scipy +displayName: BTK +description: BTK with Gdal, geopandas, numpy and scipy tags: ["Jupyter", "Maap"] icon: /images/brix-2.png globalMemoryLimit: 2674Mi diff --git a/index.json b/index.json index 0b2d15b5e77e07205a6f8721bfc1102968992fbe..29a6746c62ddf6c99ce57e85f6dc026f6d010676 100644 --- a/index.json +++ b/index.json @@ -51,6 +51,19 @@ "links": { "self": "/devfiles/polinsar-jupyter/devfile.yaml" } + }, + { + "displayName": "BTK", + "description": "BTK stack with gdal, numpy, etc...", + "tags": [ + "Python", + "Maap" + ], + "icon": "/images/brix-2.png", + "globalMemoryLimit": "5000Mi", + "links": { + "self": "/devfiles/btk/devfile.yaml" + } } ]