Hello @松田 一志 ,
Regarding your follow-up question :
The minimum value for MaxPods in Azure CNI should be 30. AKS cluster creation will fail
Couple of additional tests using Portal & CLI , below are the results:
Using Portal:
The minimum required number of pods for a system node pool is 30. With 1 node as the minimum scale value, the minimum pods per node is 30
Using Azure CLI
{'code': 'InvalidTemplateDeployment', 'message': "The template deployment 'akswithmingroup' is not valid according to the validation procedure. The tracking id is '56512550-e4ff-4d36-8dc8-999b382216b2'. See inner errors for details."}
Inner Errors:
{'code': 'InsufficientAgentPoolMaxPodsPerAgentPool', 'message': "Provisioning of resource(s) for container service maxpodsdemo in resource group maxpodsdemo failed. Message: Category: ClientError; Code: InsufficientAgentPoolMaxPodsPerAgentPool; SubCode: ; Message: The AgentPoolProfile 'maxpodsdemo' has an invalid total maxPods(maxPods per node * node count), the total maxPods(10 * 1) should be larger than 30. Please refer to aka.ms/aks-min-max-pod for more detail.; InnerMessage: ; Dependency: ; OrginalError: %!s(<nil>); AKSTeam: . Details: "}
Official Microsoft document : aka.ms/aks-min-max-pod
Below highlighted 4 lines confirms the same.
If you want to use minimum MaxPods count per node as 10 , then there should be a minimum of 3 nodes
agentPoolProfiles: [
{
name: clusterName
count: nodeCount
vmSize: vmSize
mode: 'System'
maxPods: 10
maxCount: 3
minCount: 3
enableAutoScaling: true
}
//////////////////
Kindly let us know if you have additional questions , happy to help out further !
Regards,
Shiva.