Connect to Matlab POD using Visual Studio Editor

313

Though it is not required for the Matlab setup, for advance command usage,  you can have more control over your Matlab setup through the Visual Studio code editor and inside Visual studio, you can launch the remote bash shell. Below we have mentioned all the steps required to connect to the remote shell through the Visual Studio editor.

Launch the Visual Studio code editor with your extracted folder setup.

Launch the Visual Studio Code Editor
Launch the Visual Studio Code Editor: With your Project folder

Just view the left pane and click on the Kubernetes icon, you can view the existing contexts. Simply switch to icekube context.

Click on Kubernetes icon
Click on Kubernetes icon

 

Navigate to Pod Section: Within icekube context ->Workloads->Pod

Navigate to Pods Section
Navigate to Pods Section

 

Here, find your pod name. In this example, our pod name refers to sumit36718160. Select your pod and right-click on it, and select Terminal. Now, the terminal will launch.

Select your Pod and attach terminal.
Select your Pod and attach the terminal.

 

Terminal is Finally Launched
The terminal is Finally Launched

 

 

Note

In this section, we learned how to connect to your pod and launch the bash shell terminal using Visual Studio Code. We can also uninstall our pod from here but it is not advisable, as current settings enable your to accidentally delete or uninstall other user resources. We will learn how to uninstall the helm chart and other resources using Linux bash shell in the coming posts.