How to update an existing Kubernetes cluster with new service principal in Azure

0 votes

Hi Guys,

I have one Kubernetes Cluster in Azure. I want to update an existing Kubernetes cluster with a new service principal. How can I do that?

Nov 17, 2020 in Azure by akhtar
• 38,260 points
1,166 views

1 answer to this question.

0 votes

Hi@akhtar,

Sometimes it is required to update the credentials of the Kubernetes Cluster. You can use the below command to update the credentials.

$ az aks update-credentials -g MyResourceGroup -n MyCluster --reset-service-principal --service-principal NewPrincipalID --client-secret NewPrincipalSecret


Hope this helps!

To know more about Azure, It's recommended to join Azure Training in Chennai today.

answered Nov 17, 2020 by MD
• 95,460 points

edited Oct 7, 2021 by Sarfaraz

Related Questions In Azure

0 votes
1 answer

How to create a snapshot by copying an existing disk in Azure?

Hi@akhtar, Azure Managed Disk snapshots are used to create a point ...READ MORE

answered Nov 16, 2020 in Azure by MD
• 95,460 points
663 views
0 votes
1 answer

How to create an app service plan in Azure?

Hi@akhtar, An App Service plan defines a set of computing ...READ MORE

answered Nov 17, 2020 in Azure by MD
• 95,460 points
754 views
0 votes
1 answer

How to get access credentials for a managed Kubernetes cluster in Azure?

Hi@akhtar, After creating the Kubernetes Cluster, you need ...READ MORE

answered Nov 17, 2020 in Azure by MD
• 95,460 points
802 views
0 votes
1 answer

How to scale the node pool in a managed Kubernetes cluster in Azure?

Hi@akhtar, A node pool is a group of nodes within a ...READ MORE

answered Nov 17, 2020 in Azure by MD
• 95,460 points
784 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points

edited Jun 21, 2023 by Khan Sarfaraz 1,127 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 29, 2020 in Azure by nbavis
• 380 points
1,456 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points
962 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,230 points
2,103 views
0 votes
1 answer

How to update a resource group lock with new notes and type in Azure?

Hi@akhtar, You can update the group lock with ...READ MORE

answered Nov 16, 2020 in Azure by MD
• 95,460 points
619 views
0 votes
1 answer

How to create an image from an existing disk in Azure?

Hi@akhtar, Sometimes we need to create a custom ...READ MORE

answered Nov 13, 2020 in Azure by MD
• 95,460 points
912 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP