Connect to POD using Visual Studio Editor

346

Though, it is not required for the matlab setup but you can have more control over your matlab setup through 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 remote shell through 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 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 you pod name. In this example, our pod name refers to . Select your pod and right click on it, select Terminal. Now, the terminal will launch.

Select your Pod and attach terminal.
Select your Pod and attach terminal.
Terminal is Finally Launched
Terminal is Finally Launched

 

 

Note

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