Page cover

edit

The cldkctl notebook edit command updates the configuration of an existing Jupyter Notebook, including CPU, memory, and storage settings. This command opens an interactive editor that allows you to modify notebook specifications directly, helping you optimize resources according to your workflow needs.

Usage

cldkctl notebook edit [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Identify the Notebook Name from the Notebook List section.

  2. Run the following command in your terminal, and replace <notebook name> with the name of the notebook you want to edit:

./cldkctl notebook edit <notebook name>
  1. The system will open the notebook specification file in the default text editor (e.g., nano or vim), showing the configuration in YAML format. This file includes details such as notebook metadata, resource allocation, image, GPU type, memory, and storage settings.

  2. Locate the section under spec: to modify the desired parameters.

  3. After making the necessary changes, save and close the editor.

  4. Once saved, the system will apply the updated configuration automatically.

  5. Wait a few moments for the notebook to reconfigure its environment.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

-h, --help

Help for the edit command.

-n, --namespace string

Specify the cluster namespace to scope the operation.

-p, --project string

Specify the project ID.

Last updated