Connecting with SSH
You can connect to Kubernetes apps, such as Jupyter Node, through a randomized NodePort. If you are developing custom apps, you can add an SSH server to the container.
After starting an app, find the NodePort to connect to:
- Select the namespace in Rancher's top dropdown menu.
- Click on Service Discovery ➡ Services in the left menu.
- Find the row with Type
NodePort
and its TCP port number.
Connect from a terminal with
Replace 32722
with your NodePort number.
You can also connect to the container file system via SSH with a Visual Studio Code extension.