Basic Remote Terminal Operations

Last updated: 2020-04-26 17:59:14

    Connecting to a Container Through a Remote Terminal

    1. Log in to the TKE console and click Clusters in the left sidebar.

    2. On the "Cluster Management" page, click the cluster ID (cls-xxx) to go to the cluster details page.

    3. On the cluster details page, choose Node Management > Nodes in the left sidebar.

    4. On the "Node List" page, click the node ID to go to the pod management page.

    5. Click Remote Login for the instance to log in to the remote terminal.

    Containers meeting any of the following conditions do not support remote login:

    • The namespace is kube-system.
    • No bash is available in the container image.

    Running Commands for Containers Without Shell

    1. Go to the remote terminal page.
    2. Enter the command to run in the entry box at the bottom, and then click "OK", as shown in the following figure:

    Uploading and Downloading Files

    1. Go to the remote terminal page.
    2. Click the file assistant at the bottom, select file uploading or downloading, as shown in the following figure:
      • For uploading, you need to specify the path to the file to be uploaded.
      • For downloading, you need to specify the path for storing the file to be downloaded.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help