Create WorkspaceKind
TOC
Prerequisites
- Ensure you are Cluster Admin.
- Ensure you have
kubectlconfigured and connected to your cluster. - Ensure you have created
SA.
Procedure
Create SA
Create a file workbench-sa-with-rolebinding.yaml with following lines, and run kubectl apply -f workbench-sa-with-rolebinding.yaml to create service account used by workbench instances in the namespace.
DETAILS
- NAMESPACE_NAME should be same with the namespace of workbench created.
- Same as above.
Create WorkspaceKind using CLI
WARNING
- When use
jupyterlab_v1beta1_workspacekind.yaml, please changeCLUSTER_NAMEinNB_FREIXto your target cluster name, which is WorkspaceKind will be created at. - When creating
WorkspaceKind, image URL must be changed to the actually one for the current local cluster !!!
-
Save the
codeserver_v1beta1_workspacekind.yamlfile and execute the command: -
Save the
jupyterlab_v1beta1_workspacekind.yamlfile and execute the command: