PowerShell steps to create a private Kubernetes cluster

Ayan Mullick 66 Reputation points
2020-09-21T14:48:51.163+00:00

Is there PowerShell documentation on how to create a private Azure Kubernetes Service cluster?

Creating, as suggested by CXP : https://github.com/MicrosoftDocs/azure-docs/issues/62628#issuecomment-695898184

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,848 questions
0 comments No comments
{count} votes

Accepted answer
  1. Arturo Fallas Fernández 76 Reputation points Microsoft Employee
    2022-12-13T20:57:32.21+00:00

    Hello @Ayan Mullick ,

    Yes it is possible to create a private AKS cluster using powershell cmdlets.

    Please check the following documentation: new-azakscluster

    Basically you just need to add the following parameter to your command:

    "-EnableApiServerAccessPrivateCluster"

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)


1 additional answer

Sort by: Most helpful
  1. Leon Laude 85,646 Reputation points
    2020-09-21T15:04:14.537+00:00

    Hi @Ayan Mullick ,

    Something here might help:

    Create a private Azure Kubernetes Service cluster
    https://learn.microsoft.com/en-us/azure/aks/private-clusters

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon