From 995da0125a3b55695ce3bdb43efb8260f0c79e37 Mon Sep 17 00:00:00 2001 From: Teddy Kossoko <teddy.kossoko@capgemini.com> Date: Thu, 25 Mar 2021 09:17:57 +0000 Subject: [PATCH] Update meta.yaml add jupyterlab --- v3/plugins/esa/maap-jupyter/latest/meta.yaml | 79 +++++++++++--------- 1 file changed, 45 insertions(+), 34 deletions(-) diff --git a/v3/plugins/esa/maap-jupyter/latest/meta.yaml b/v3/plugins/esa/maap-jupyter/latest/meta.yaml index 5e85449..1e8bea0 100644 --- a/v3/plugins/esa/maap-jupyter/latest/meta.yaml +++ b/v3/plugins/esa/maap-jupyter/latest/meta.yaml @@ -1,34 +1,45 @@ -apiVersion: v2 -publisher: esa -name: jupyter -version: latest -type: Che Editor -displayName: Jupyter Notebook -title: Jupyter Notebook as Editor for Eclipse Che -description: Jupyter Notebook as Editor for Eclipse Che -icon: https://jupyter.org/assets/main-logo.svg -category: Editor -repository: https://biomass.pl.s2-eu.capgemini.com/gitlab/bmap/che7-stacks/maap-jupyter -firstPublicationDate: "2019-02-05" -spec: - endpoints: - - name: "jupyter2" - public: true - targetPort: 8888 - attributes: - protocol: http - type: ide - containers: - - name: jupyter-notebook - image: "kosted/maap-esa-jupyter:0.0.2" - env: - - name: JUPYTER_NOTEBOOK_DIR - value: /projects - - name: CLIENT_ID - value: "97262f0b-d3ca-4492-bcf8-9a0e12bdede8" - - name: MAAP_ENV_TYPE - value: "VAL" - mountSources: true - ports: - - exposedPort: 8888 - memoryLimit: "512M" +metadata: + name: jupyterlab- +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: 'kosted/maap-esa-jupyterlab:0.0.2' + imagePullPolicy: IfNotPresent + resources: + limits: + memory: 2048Mi + securityContext: + privileged: true + type: kubernetes + alias: maap-jupyterlab + env: + - name: MACHINE_NAME + value: WS_JUPYTER + - name: JUPYTER_NOTEBOOK_DIR + value: /projects + - name: CLIENT_ID + value: "97262f0b-d3ca-4492-bcf8-9a0e12bdede8" + - value: "VAL" + name: MAAP_ENV_TYPE +apiVersion: 1.0.0 -- GitLab