diff --git a/README.md b/README.md index 75c1bd48..55f43c13 100644 --- a/README.md +++ b/README.md @@ -67,9 +67,14 @@ on all user accounts. If you are testing something, you can create your own imag ##### Che Stack Raw Configuration ``` { - "description": "JupyterLab Extension", "scope": "general", + "description": "Use this one. Stable jupyter. No extra packages", "creator": "b07e3a58-ed50-4a6e-be17-fcf49ff8b242", + "tags": [ + "MAAP", + "JUPYTER", + "STABLE" + ], "workspaceConfig": { "defaultEnv": "default", "environments": { @@ -77,7 +82,7 @@ on all user accounts. If you are testing something, you can create your own imag "recipe": { "contentType": "text/x-yaml", "type": "kubernetes", - "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n labels:\n name: ws\n spec:\n containers:\n - \n name: jupyter\n image: 'localhost:32000/che-jupyter-lab-ide:latest'\n resources:\n limits:\n memory: 1024Mi\n securityContext:\n privileged: true\n - \n apiVersion: v1\n kind: Service\n metadata:\n name: ws\n spec:\n type: NodePort\n ports:\n - \n port: 22\n selector:\n name: ws\n " + "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n labels:\n name: ws\n spec:\n containers:\n - \n name: jupyter\n image: 'localhost:32000/stable-ide:latest'\n resources:\n limits:\n memory: 1024Mi\n securityContext:\n privileged: true\n - \n apiVersion: v1\n kind: Service\n metadata:\n name: ws\n spec:\n type: NodePort\n ports:\n - \n port: 22\n selector:\n name: ws\n \n " }, "machines": { "ws/jupyter": { @@ -110,16 +115,15 @@ on all user accounts. If you are testing something, you can create your own imag } } }, - "commands": [], "projects": [], + "commands": [], "name": "default", "attributes": {}, "links": [] }, "components": [], - "tags": [], - "name": "JupyterLab Extensions", - "id": "stackjfbf5pwojopvx4e7" + "name": "maap-jupyter-ide", + "id": "stacktdo2q0ixhv7cge00" } ``` diff --git a/che-stacks/dev-maap.json b/che-stacks/dev-maap.json new file mode 100644 index 00000000..f2617062 --- /dev/null +++ b/che-stacks/dev-maap.json @@ -0,0 +1,55 @@ +{ + "scope": "general", + "description": "DEV ONLY, DO NOT USE", + "creator": "b07e3a58-ed50-4a6e-be17-fcf49ff8b242", + "tags": [], + "workspaceConfig": { + "defaultEnv": "default", + "environments": { + "default": { + "recipe": { + "contentType": "text/x-yaml", + "type": "kubernetes", + "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n labels:\n name: ws\n spec:\n containers:\n - \n name: jupyter\n image: 'localhost:32000/dev-ide:latest'\n resources:\n limits:\n memory: 1024Mi\n securityContext:\n privileged: true\n - \n apiVersion: v1\n kind: Service\n metadata:\n name: ws\n spec:\n type: NodePort\n ports:\n - \n port: 22\n selector:\n name: ws\n \n " + }, + "machines": { + "ws/jupyter": { + "env": { + "MACHINE_NAME": "WS_JUPYTER" + }, + "servers": { + "jupyter": { + "path": "/", + "attributes": { + "cookiesAuthEnabled": "true", + "type": "ide", + "secure": "true" + }, + "protocol": "http", + "port": "3100" + } + }, + "installers": [ + "org.eclipse.che.exec", + "org.eclipse.che.ssh" + ], + "volumes": { + "projects": { + "path": "/projects" + } + }, + "attributes": {} + } + } + } + }, + "projects": [], + "commands": [], + "name": "default", + "attributes": {}, + "links": [] + }, + "components": [], + "name": "DEV-maap", + "id": "stack4lf28arm2h4cy47c" +} \ No newline at end of file diff --git a/che-stacks/maap-jupyter-ide.json b/che-stacks/maap-jupyter-ide.json new file mode 100644 index 00000000..f47217cc --- /dev/null +++ b/che-stacks/maap-jupyter-ide.json @@ -0,0 +1,59 @@ +{ + "scope": "general", + "description": "Use this one. Stable jupyter. No extra packages", + "creator": "b07e3a58-ed50-4a6e-be17-fcf49ff8b242", + "tags": [ + "MAAP", + "JUPYTER", + "STABLE" + ], + "workspaceConfig": { + "defaultEnv": "default", + "environments": { + "default": { + "recipe": { + "contentType": "text/x-yaml", + "type": "kubernetes", + "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n labels:\n name: ws\n spec:\n containers:\n - \n name: jupyter\n image: 'localhost:32000/stable-ide:latest'\n resources:\n limits:\n memory: 1024Mi\n securityContext:\n privileged: true\n - \n apiVersion: v1\n kind: Service\n metadata:\n name: ws\n spec:\n type: NodePort\n ports:\n - \n port: 22\n selector:\n name: ws\n \n " + }, + "machines": { + "ws/jupyter": { + "env": { + "MACHINE_NAME": "WS_JUPYTER" + }, + "servers": { + "jupyter": { + "path": "/", + "attributes": { + "cookiesAuthEnabled": "true", + "type": "ide", + "secure": "true" + }, + "protocol": "http", + "port": "3100" + } + }, + "installers": [ + "org.eclipse.che.exec", + "org.eclipse.che.ssh" + ], + "volumes": { + "projects": { + "path": "/projects" + } + }, + "attributes": {} + } + } + } + }, + "projects": [], + "commands": [], + "name": "default", + "attributes": {}, + "links": [] + }, + "components": [], + "name": "maap-jupyter-ide", + "id": "stacktdo2q0ixhv7cge00" +} \ No newline at end of file