Unable to add Node labels for AKS cluster via Azure portal for node pool

Raj Dn 141 Reputation points
2021-01-29T23:14:24.26+00:00

Unable to add Node labels for AKS cluster via Azure portal for node pool.
There is no option available in Azure portal. Is the only way to create a node pool is via command line to have labels?

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.
2,190 questions
0 comments No comments
{count} vote

Accepted answer
  1. TravisCragg-MSFT 5,686 Reputation points Microsoft Employee
    2021-01-30T01:19:56.533+00:00

    Most node pool operations in AKS can only be done via the CLI at this time. If you would like us to add more functionality to the portal, please leave your feedback here at Azure Kubernetes Service Feedback.Azure.com page.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. shiva patpi 13,256 Reputation points Microsoft Employee
    2021-01-30T01:14:33.88+00:00

    Hello @Raj Dn ,
    As of now there is no provision to add labels via azure portal while creating a node pool.
    You can submit a feedback at https://feedback.azure.com/forums/914020-azure-kubernetes-service-aks/

    There is an alternate option of you can add a label to a specific node under that node pool after creation using kubectl command:

    Example:
    kubectl label nodes aks-testnp-59530302-vmss000001 disktype=ssd

    If above answer helps , kindly "Accept the Answer"


  2. SUNOJ KUMAR YELURU 14,711 Reputation points MVP
    2021-01-30T01:32:02.677+00:00

    Hi @Raj Dn

    Please check if it could help at your side:
    Cannot Create Nodepool with nodelabel on AKS

    Create and manage multiple node pools for a cluster in Azure AKS

    If you suggest in the AKS feature request ask the product team
    AKS product team

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

    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.