question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create AKS cluster fails on 2.4.0

See original GitHub issue

Describe the bug

AKS cluster creation failed after upgrade of az cli from 2.2.0 to 2.4.0

To Reproduce

Run AKS cluster create

az aks create --name gleb-aks-bkp-atom-hero --resource-group cluster-name --node-count 5 --generate-ssh-keys --vm-set-type VirtualMachineScaleSets --enable-addons monitoring --service-principal <service-principal> --client-secret <client-secret> --kubernetes-version 1.14.8 --node-vm-size Standard_DS3_v2

Expected behavior

Cluster gets created

Actual result

The behavior of this command has been altered by the following extension: aks-preview
The request content was invalid and could not be deserialized: 'Could not find member 'template' on object of type 'DeploymentDefinition'. Path 'template', line 1, position 12.'.

Environment summary

OS Linux Ubuntu 18.04 azure-cli 2.4.0

This command does work when az cli version is

2.2.0 *

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
marwanadcommented, May 5, 2020

This should be fixed in the latest extension version 0.4.44.

 az extension update --name aks-preview

Please report back if that fixes the issue.

3reactions
stglebcommented, Apr 22, 2020

I’ve got this

az aks enable-addons -a monitoring  -g gleb-aks-mangrove-fox -n gleb-aks-mangrove-fox
The behavior of this command has been altered by the following extension: aks-preview
The request content was invalid and could not be deserialized: 'Could not find member 'template' on object of type 'DeploymentDefinition'. Path 'template', line 1, position 12.'.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic troubleshooting of AKS cluster creation issues
This article outlines the basic troubleshooting methods to use if you can't create or deploy a Microsoft Azure Kubernetes Service (AKS) cluster ......
Read more >
Troubleshooting
When running Garden commands against an Azure AKS cluster with RBAC enabled, an error like the following may appear: Failed resolving provider Kubernetes....
Read more >
Kafka on Kubernetes, the Strimzi way! (Part 4)
So far, we have a Kafka single-node cluster with TLS encryption on top of which we configured different authentication modes (TLS and SASL...
Read more >
Creating an AKS Cluster | Rancher Manager
You can use Rancher to create a cluster hosted in Microsoft Azure Kubernetes Service (AKS).
Read more >
Azure Functions Core Tools
You can create an AKS cluster using the Azure Portal or using Azure CLI. Once your AKS cluster is created make sure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found