Does Private Type AKS Cluster not support Automated Deployments?

SUNGMIN JUNG 21 Reputation points
2025-08-13T09:00:55.62+00:00

I'm trying to deploy applications using AKS automated deployments, but I think that Private Type AKS Clusters aren't supported.

There are several reasons for this.

First, automated deployments can't be performed via CLI or PowerShell. They can only be performed via Azure Portal, which requires specifying a namespace. Private AKS clusters can't be selected because their namespaces, deployments, and services aren't visible in the Azure console.

Furthermore, a self-hosted agent needs to be run when executing manifests, but this can't be specified when the DevOps Pipeline is automatically generated. Modifying this won't work either. Please confirm that Private Type AKS Clusters don't support automated deployments.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
{count} votes

Accepted answer
  1. Durga Reshma Malthi 11,400 Reputation points Microsoft External Staff Moderator
    2025-08-14T07:57:31.72+00:00

    Hi SUNGMIN JUNG

    If it is not CI/CD, then the Azure Portal’s AKS Automated Deployments wizard does not support Private AKS clusters.

    In a Private AKS cluster, the API server is not exposed publicly, so the wizard cannot load or create namespaces

    The only supported way to deploy to private AKS today is outside the portal wizard:

    • Azure DevOps or GitHub Actions with a self-hosted agent in the same VNet as the AKS API server.
    • Direct kubectl from a VM or jumpbox in the VNet.

    Hope this helps!

    Please Let me know if you have any queries.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Durga Reshma Malthi 11,400 Reputation points Microsoft External Staff Moderator
    2025-08-13T09:11:30.5233333+00:00

    Hi SUNGMIN JUNG

    As per the GitHub document - https://github.com/Azure/AKS/issues/4699Private AKS clusters do support automated deployments.

    You can deploy to private clusters by setting up:

    • Set up a self-hosted agent in the same VNet as your Private AKS cluster to facilitate deployments.
    • A kubeconfig service connection that authenticates securely.
    • Consider manually configuring your Azure DevOps pipeline to ensure it uses the correct agent pool and can access the Private AKS cluster.

    Additional References:

    https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/windows-agent?view=azure-devops&tabs=IP-V4

    Hope this helps!

    Please Let me know if you have any queries.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.