Skip to content

Notebooks 2.0 // Backend // Update list workspacekinds JSON payloads #128

@ederign

Description

@ederign

Proposed payload:

{
  "name": "jupyterlab",
  "display_name": "JupyterLab Notebook",
  "description": "A Workspace which runs JupyterLab in a Pod",
  "deprecated": false,
  "deprecation_message": "This WorkspaceKind will be removed on 20XX-XX-XX, please use another WorkspaceKind.",
  "hidden": false,
  "icon <- add": {
    "url": "https://jupyter.org/assets/favicons/apple-touch-icon-152x152.png"
  },
  "logo <- add": {
    "url": "https://upload.wikimedia.org/wikipedia/commons/3/38/Jupyter_logo.svg"
  },
  "pod_template": {
    "pod_metadata": {
      "labels": {
        "my-workspace-kind-label": "my-value"
      },
      "annotations": {
        "my-workspace-kind-annotation": "my-value"
      }
    },
    "volume_mounts <- add": {
      "home": "/home/jovyan"
    },
    "options <- add": {
      "image_config": {
        "default <- add": "jupyterlab_scipy_190",
        "values": [
          {
            "id": "jupyterlab_scipy_180",
            "displayName": "JupyterLab, with SciPy Packages",
            "add labels, hidden redirect (to and message and level), ": "Jupyter"
          },
          {
            ".other image configs..": "..."
          }
        ]
      },

      "pod_config <- add": {
        "default": "tiny_cpu",
        "values": [
          {
            "id": "tiny_cpu",
            "displayName": "Tiny CPU",
            "description": "0.5",
            "add labels fields as key value": "1Gi"
          },
          {
            "i...others": "others"
          }
        ]
      }
    }
  },
  "status <add->": {
    "add status fields": "add status fields"
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions