You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: netapp_dataops_k8s/docs/workspace_management.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,7 @@ The following options/arguments are optional:
182
182
-p, --cpu= Number of CPUs to reserve for JupyterLab workspace. Format: '0.5', '1', etc. If not specified, no CPUs will be reserved.
183
183
-b, --load-balancer Option to choose a LoadBalancer service instead of using NodePort service. If not specified, NodePort service will be utilized.
184
184
-a, --register-with-astra Register new workspace with Astra Control (requires Astra Control).
185
+
-v, --mount-pvc Option to attach an additional existing PVC that can be mounted at a spefic path whithin the container. Format: -v/--mount-pvc=existing_pvc_name:mount_point. If not specified, no additional PVC will be attached.
185
186
```
186
187
187
188
##### Example Usage
@@ -632,6 +633,7 @@ Tip: Refer to the [Trident documentation](https://netapp-trident.readthedocs.io/
632
633
def create_jupyter_lab(
633
634
workspace_name: str, # Name of new JupyterLab workspace (required).
634
635
workspace_size: str, # Size new workspace (i.e. size of backing persistent volume to be created) (required). Format: '1024Mi', '100Gi', '10Ti', etc.
636
+
mount_pvc: str = None, # Option to attach an additional existing PVC that can be mounted at a spefic path whithin the container. Format: 'existing_pvc_name:mount_point'. If not specified, no additional PVC will be attached.
635
637
storage_class: str = None, # Kubernetes StorageClass to use when provisioning backing volume for new workspace. If not specified, the default StorageClass will be used. Note: The StorageClass must be configured to use Trident or the BeeGFS CSI driver.
636
638
load_balancer_service: bool = False, # Option to use a LoadBalancer instead of using NodePort service. If not specified, NodePort service will be utilized.
637
639
namespace: str = "default", # Kubernetes namespace to create new workspace in. If not specified, workspace will be created in namespace "default".
0 commit comments