Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✔️ AKS Automatic clusters
Deploy applications to Azure Kubernetes Service (AKS) using AKS desktop, an application-focused experience that simplifies Kubernetes management. This guide walks you through the steps to deploy your first application using AKS desktop.
Prerequisites
- You need an Azure subscription. If you don't have an Azure subscription, you can create a free Azure account.
- You must have an AKS cluster available through the Azure portal or an Azure Container Registry with your application image that you want to deploy.
- The Azure CLI must be installed on your device.
- The
aks-previewAzure CLI extension. Install it using theaz extension add --name aks-previewcommand. - You must have an AKS Automatic cluster.
- You must install AKS desktop. AKS desktop supports the following operating systems: Windows, Linux, and Mac.
- Your cluster must be Microsoft Entra ID authenticated. To ensure your cluster is Microsoft Entra ID authenticated, use an AKS Automatic cluster.
Sign in to your account
The first time you open AKS desktop, you need to sign into your Azure account. Signing in allows you to see AKS clusters and Projects that you have access to.
- In the left pane, select Home > Sign in with Azure.
- Select the account that you want to use.
Once signed in, you have the ability to add clusters that you have access to into AKS desktop.
Add a cluster to AKS desktop
Note
We recommend using an AKS Automatic cluster with AKS desktop. While AKS Standard SKU work in AKS desktop, you might not see the full benefits of the Project view. AKS Automatic includes built-in metrics, observability, and other tools that enable AKS desktop to surface important insights for users.
When you sign in, you can add clusters into AKS desktop from your Azure subscription or by uploading a kubeconfig file. If you have a single Azure subscription, AKS desktop auto populates your subscription once you sign in.
Select Add from Azure Subscription.
Enter the name of your Azure subscription if you have more than one. (Alternatively, select the arrow to open the drop-down list, then select your Azure subscription.)
Select your cluster, then select Register Cluster.

Add additional clusters to AKS desktop
In the bottom left pane, select Add Cluster. You can choose to load from your kubeconfig file or from Azure.
Under Providers, select Add.
Enter the name of your Azure subscription if you have more than one. (Alternatively, select the arrow to open the drop-down list, then select your Azure subscription.)
Select your cluster, then select Register Cluster.

Remove a cluster from AKS desktop
To delete a cluster from AKS desktop and your kubeconfig, follow these steps:
Under the Home screen, select the box next to the cluster you want to remove.
Under Actions, select the three dots, and then select Delete.
The Delete Cluster window appears asking if you want to remove the specified cluster. Select Delete.

Create a new Project in AKS desktop
When you create a Project on a cluster, any user with access to the associated namespace can view the Project. Namespace access and labeling determine which users can see each Project, since Projects are tied to namespaces. To learn more, see What is the Project Overview screen?
There are three methods you can choose from to deploy your application using AKS desktop: AKS managed Project, YAML Project, and New Project.
Important
Make sure you register the namespace preview feature for first time use. Under Feature Flag Required, select Register ManagedNamespacePreview Feature.
Provide a Project name. Adding a Project description is optional.
Select your subscription, your cluster, and then select Next.
Under Networking Policies, choose the ingress and egress for your network traffic, and then select Next.
Under Compute Quota, adjust the quota based on your needs, and then select Next.
Under Access, assign the Project to one or more users and permission level for each under Role, and then select Next.
Under Review, verify the settings for your Project, and then select Create Project.
Add your application name, and then select Create Application.

Remove a Project from AKS desktop
In the left pane, select the Home button.
Under Projects, select your Project under the Name column.
Within your Project, select the trash can icon.
Under the Delete Project window, select Delete Project to remove your Project from the given namespace.
Note
If you also want to the delete the namespace along with your Project (which also removes associated resources), select Also delete the namespaces, and then select Delete Project.
Deploy an application into a Project in AKS desktop
Tip
When you deploy an application to AKS Desktop for the first time, metrics might take 5–10 minutes to appear as data begins flowing into managed Prometheus. After this initial delay, metrics should load within seconds. If metrics don't appear, try refreshing AKS Desktop.
We recommend you always create a new Project when deploying a new application. Once you create your first Project, AKS desktop places you directly into the newly created Project. Within your Project, select Deploy Application. There are two sources you can choose from to deploy your app: Container Image and Kubernetes YAML.
Provide a name for your app.
Under Container image, paste the path to your container image. It must be in the format
<YourACR>.azurecr.io/<YourImageName>:<YourImageTag>.Note
You can't use the latest tag for your container images, as it results in best practice violation on AKS Automatic.
Select your replica amount.
Under Networking, input your network port. Choose whether your app is meant for internal only or for public access, and then select Continue.
Under Health checks, choose which checks you want to perform, and then select Continue.
Under Resource Limits, configure per your app requirements, and then select Continue.
Under Environment Variables, add your
key:valuepair variable for your app, and then select Continue.Under HPA, select whether to enable Horizontal Pod Autoscaler (HPA) for your app. HPA automatically adjusts the number of pods in response to resource usage, helping maintain optimal performance and resource efficiency. Configure per your needs, and then select Continue.
Under Advanced, choose which settings you'd like to apply to your app, and then select Next.
Review your app deployment configuration. Select Deploy, and then select Close.
View cluster data and metrics in AKS desktop
AKS desktop provides a unified view of your application resources, health status, resource quotas, workloads, and configuration settings all in a single dashboard. Use the tabs to explore detailed information and manage each aspect of your deployment efficiently. You must have a cluster added into AKS desktop to view this information.
Use the following steps to view cluster data and metrics in AKS desktop:
- Select Home.
- Under the Name tab, select the cluster you want to view.
- In the left pane, choose the specific setting to view detailed cluster data and metrics.
Related content
For more information about add-ons, extensions, and features available in AKS, see Add-ons, extensions, and other integrations with Azure Kubernetes Service (AKS).