Hello Wout Ceulemans
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on the information provided, it seems that you encountered a "GetVnetError" while creating a new AKS node pool.
The GetVnetError error message typically occurs when there is an issue with the VNet configuration. Some possible reasons for this error include:
- The VNet does not exist or is not accessible to your AKS cluster.
- The VNet is in a different region or subscription than your AKS cluster.
- The VNet is not configured with the necessary subnets to support AKS.
To troubleshoot this issue, you can try the following steps:
- Verify that the VNet and subnet specified in the
--vnet-subnet-idparameter exist and are accessible to your AKS cluster. - Check that the VNet and subnet are in the same region and subscription as your AKS cluster.
- Ensure that the VNet is configured with the necessary subnets for AKS. Specifically, you will need at least one subnet for the AKS cluster and one subnet for the node pool.
- Ensure that you have the required permissions to access and modify the VNet and its associated resources. This includes permissions to create and manage subnets, virtual network gateways, and network security groups.
If you continue to experience issues, you may want to try creating a new VNet with the necessary subnets for AKS and then specify that VNet in the --vnet-subnet-id parameter.
Hope this helps.