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,180 points
192 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
answered Nov 17, 2020 by MD
• 95,240 points

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,240 points
103 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 16, 2020 in Azure by MD
• 95,240 points
95 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 16, 2020 in Azure by MD
• 95,240 points
72 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,240 points
132 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,090 points
272 views
0 votes
2 answers

Azure DevOps and its need?

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

answered Aug 28, 2020 in Azure by nbavis
• 380 points
391 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,090 points
246 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,090 points
1,155 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 15, 2020 in Azure by MD
• 95,240 points
91 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,240 points
111 views