From the course: Learning Azure Kubernetes Service (AKS)
Connect to the AKS cluster - Kubernetes Tutorial
From the course: Learning Azure Kubernetes Service (AKS)
Connect to the AKS cluster
- [Instructor] To connect to an AKS cluster, we can use the Cloud Shell and the Azure portal. In the Azure portal, in the search box at the top, search for AKS, and then click on Kubernetes services. In here, pick one of your AKS clusters. For this one, I'm just going to pick aks-01. At the top, you'll see a Connect button. Go ahead and click on that. In this new popup blade, you'll see a set of information and steps to connect to your AKS cluster. First off, click on the Open Cloud Shell button. This will open the Microsoft Cloud Shell for you. Next, we're going to wait for it to automatically populate the commands, which are here. Now, if you are running this locally, you can actually copy these commands and paste them into your own shell as long as you're logged into Azure. Next up, we have some sample commands we can use. So for example, kubectl get deployments --all -namespaces=true. So, if we copy that and we'll paste that into the Cloud Shell, hit Enter, and we will get a list of all of our deployments inside the AKS cluster.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Overview of AKS1m 31s
-
Network types for AKS7m 54s
-
(Locked)
Advanced Container Networking Services2m 44s
-
(Locked)
Create an AKS cluster using the portal9m 26s
-
(Locked)
Create an AKS cluster using the CLI3m 26s
-
(Locked)
Overview of AKS in the Azure portal3m 15s
-
(Locked)
Introduction and setup for AKS Automatic5m 57s
-
Connect to the AKS cluster1m 13s
-
-
-
-
-