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,132 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
644 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
737 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
766 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
770 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,097 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,407 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
925 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,084 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
604 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
876 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