I have deployed an Azure Container Service a month ago and it works perfectly. However when I tried to increase the VM count in the agent pool then Azure returned an "operation not allowed" error all the time.
This is the error returns -
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"error\": {\r\n \"code\": \"OperationNotAllowed\",\r\n \"target\": \"vmSize\",\r\n \"message\": \"Unable to perform Operation 'Update VM' on the VM because the requested size Standard_D2_v2 is not available in the cluster where the availability set is currently allocated. The available sizes are: Basic_A0,Basic_A1,Basic_A2,Basic_A3,Basic_A4,Standard_A0,Standard_A1,Standard_A2,Standard_A3,Standard_A4,Standard_A5,Standard_A6,Standard_A7,Standard_D1,Standard_D2,Standard_D3,Standard_D4,Standard_D11,Standard_D12,Standard_D13,Standard_D14,Standard_A1_v2,Standard_A2_v2,Standard_A4_v2,Standard_A8_v2,Standard_A2m_v2,Standard_A4m_v2,Standard_A8m_v2. Read more on VM resizing strategy at https://aka.ms/azure-resizevm.\"\r\n }\r\n}"}]}
So according to the above error, it tells me to update the VM size of the agent pool. Is there a solution for this?