[Egress Breaking Change] Azure MCR has Updated its CDN endpoints
The Azure Container Registry team has rolled out changes to their CDN endpoints that have a breaking change impact on AKS clusters which are Locking down egress traffic, that is users using firewalls or network rules to restrict the egress endpoints.
We are working with the ACR team to mitigate this.
If you are impacted by this change, please add, in addition to the existing endpoints in this doc, the following ones:
*.data.mcr.microsoft.com - HTTPS:443
Update: The ACR team has rolled back the changes to allow some more time for AKS users to update their FW/Network rules. The AKS Egress docs are up to date with the new requirements, please make sure your configurations are in accordance to: https://aka.ms/aks/egress
would this cause a cluster to be in a failed state after upgrade?
Scale and Upgrade operations could fail as the endpoint for retrieving the system images changed. (though we normally cache them in the AKS Image, depending on your versions, etc. you might need to pull some) Best would be to open a support ticket to ensure the cause, without taking a look at your cluster can't tell for sure if that was indeed the cause.
Strange thing is that all the pods etc are still up and running. I just cant access the cluster via kubectl and the portal states it is in a failed state. Will log a support request
@kylel Can you update your firewall to add *.data.mcr.microsoft.com ? Also what operation did you trigger that led to the failure
@kylel nvm i see you upgraded
@kylel Can you update your firewall to add *.data.mcr.microsoft.com ? Also what operation did you trigger that led to the failure
Do you mean the aks load balancer?
@kylel Can you update your firewall to add *.data.mcr.microsoft.com ? Also what operation did you trigger that led to the failure
Do you mean the aks load balancer?
How did you update your lb ?
@kylel Can you update your firewall to add *.data.mcr.microsoft.com ? Also what operation did you trigger that led to the failure
Do you mean the aks load balancer?
How did you update your lb ?
I did not update it. I was just asking what you meant by adding *.data.mcr.microsoft.com to my firewall. Which firewall?
If you're not using a firewall or restricting egress as per https://aka.ms/aks/egress than this change won't affect you.
I added a few more lines to the OP to make it more clear
We are seeing this:
Normal BackOff 3m52s (x157 over 39m) kubelet, aks-fastcompute-25023122-vmss000002 Back-off pulling image "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.3"
From within the cluster:
nslookup mcr.microsoft.com
Server: 172.21.0.10
Address: 172.21.0.10#53
Non-authoritative answer:
mcr.microsoft.com canonical name = global.fe.mscr.io.
global.fe.mscr.io canonical name = mcr-global.trafficmanager.net.
mcr-global.trafficmanager.net canonical name = rp0310wus2.westus2.cloudapp.azure.com.
nslookup rp0310wus2.westus2.cloudapp.azure.com
Server: 172.21.0.10
Address: 172.21.0.10#53
** server can't find rp0310wus2.westus2.cloudapp.azure.com: NXDOMAIN
Outside the cluster:
$ nslookup rp0310wus2.westus2.cloudapp.azure.com
Server: 153.65.2.111
Address: 153.65.2.111#53
Non-authoritative answer:
Name: rp0310wus2.westus2.cloudapp.azure.com
Address: 13.66.140.70
We still are experiencing the problem. We don't use Azure Firewall for AKS. Can someone please help with steps to add *.data.mcr.microsoft.com?
Do you have a support ticket?
Thank you Surya for replying.
Just created one and here is the ticket# 120031724000864
Thanks, Sanjeeb
From: Saurya Das [email protected] Sent: Tuesday, March 17, 2020 12:28 AM To: Azure/AKS [email protected] Cc: sanjeebsarangi [email protected]; Comment [email protected] Subject: Re: [Azure/AKS] [Egress Breaking Change] Azure MCR has Updated its CDN endpoints (#1476)
Do you have a support ticket?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Azure/AKS/issues/1476#issuecomment-599917762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHSO7WDWZKX3M6CWPBVF3SLRH4RA7ANCNFSM4LDOD55A.
@feiskyer can you assign this to Guoxun to take a look ? i cant seem to find his github id.
/assign @gossion
nslookup mcr.microsoft.com Server: 172.21.0.10 Address: 172.21.0.10#53 Non-authoritative answer: mcr.microsoft.com canonical name = global.fe.mscr.io. global.fe.mscr.io canonical name = mcr-global.trafficmanager.net. mcr-global.trafficmanager.net canonical name = rp0310wus2.westus2.cloudapp.azure.com. nslookup rp0310wus2.westus2.cloudapp.azure.com Server: 172.21.0.10 Address: 172.21.0.10#53 ** server can't find rp0310wus2.westus2.cloudapp.azure.com: NXDOMAIN
The problem here looks like to be related to the DNS resolve, not CDN change.
The CDN endpoints metioned above is about egress: if user has his/her AKS behind a firewall or nsg, he/she nee to white list "*.data.mcr.microsoft.com - HTTPS:443" to make sure the egress is not blocked. But the error here is that it failed to solve mcr.microsoft.com, which is a different problem.
@sanjeebsarangi , as you already created a support ticket, I believe our support engineer will look at it and involve network team (it is more likely to be VM dns issue: please highlight that it failed to solve mcr.microsoft.com in the VM)
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
Closing this as these updates have been rolled out in June.