Hi, I am Henry and I'd like to help.
It looks like you're encountering a KVA validation error while enabling Azure Kubernetes Service (AKS) on Windows Server 2022. Based on the error message, the issue seems to be related to network connectivity, specifically the inability to reach https://mcr.microsoft.com.
- Check DNS Configuration
- Even though DNS is working fine, try switching to a public DNS like 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).
- Run:
nslookup mcr.microsoft.com
- If the lookup fails, there may be a deeper DNS issue.
- Verify Internet Connectivity from the Appliance VM
- Open PowerShell and test connectivity:
Test-NetConnection -ComputerName mcr.microsoft.com -Port 443
- If this fails, check firewall rules or outbound network settings.
- Check Firewall and Proxy Settings
- Ensure there are no hidden outbound blocks preventing access to Microsoft URLs.
- If using a proxy, configure it properly in AKS settings.
- Manually Validate KVA
- Run the following command to manually validate:
C:\Program Files\AksHci\kvactl.exe validate --configfile "C:\AksHCI\1.0.25.10313\yaml\appliance.yaml" --provider=azurestackhci --enable-canary-diagnostics
- Review the generated kva_validation_report.html for more details.
- Review AKS Hybrid System Requirements
- Ensure your setup meets all network port and URL requirements listed here.
Let me know if any of these solutions work for you.