You can connect a container in EKSCI and run the command to log in to the container through the TKE console.
Log in to the TKE console.
On the container instance list page, click the name of the instance for which you want to connect.
On the container instance details page, click Container Management to view it,.
Click Login on the right side when the container in the Pod is in status of normal operation.
On the Login to container pop-up window, select Shell
command and select Login on the right side of the container you want to log in.
Note:Shell command is /bin/bash by default. You can switch it to /bin/sh.
After you log in to the container, enter Shell
command to do a test.
Was this page helpful?