This topic describes how to use kubectl to connect to a cluster of Container Service for Kubernetes (ACK).
Background information
Procedure
Result
-
If you want to connect to a cluster of ACK Managed Edition, you can run kubectl commands to connect to the cluster from your on-premises machine after you configure the kubeconfig file.
- If you want to connect to a cluster of ACK Proprietary Edition, you can obtain the
IP address for SSH connection to a master node from the Basic Information tab and run kubectl commands to connect to the cluster from your on-premises machine.Note To use SSH to log on to a cluster of ACK Proprietary Edition, you must enable SSH logon when you create the cluster. For more information, see Create a cluster of ACK Proprietary Edition.