![]() ![]() This command starts a privileged container on your node and connects to it. Use kubectl debug to run a container image on the node to connect to it. To list your nodes, use kubectl get nodes: $ kubectl get nodes -o wide To create an interactive shell connection to a Linux node, use kubectl debug to run a privileged container on your node. Create an interactive shell connection to a Linux node If you need to install or upgrade, see Install Azure CLI. You also need the Azure CLI version 2.0.64 or later installed and configured. If you use PuTTY Gen to create the key pair, save the key pair in an OpenSSH format rather than the default PuTTy private key format (.ppk file). ![]() You can create an SSH key using macOS or Linux or Windows. This article also assumes you have an SSH key. If you need an AKS cluster, see the AKS quickstart using the Azure CLI, using Azure PowerShell, or using the Azure portal. This article assumes that you have an existing AKS cluster. This article shows you how to create a connection to an AKS node. To connect to the AKS nodes, you use kubectl debug or the private IP address. For security purposes, the AKS nodes aren't exposed to the internet. You can also connect to Windows Server nodes using remote desktop protocol (RDP) connections. You can access AKS nodes using SSH, including Windows Server nodes. This access could be for maintenance, log collection, or other troubleshooting operations. Throughout the lifecycle of your Azure Kubernetes Service (AKS) cluster, you may need to access an AKS node.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |