azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Custom DNS name additional format

Open michalgozdowski opened this issue 2 years ago • 5 comments

Custom DNS can have an additional format: private.westeurope.azmk8s.io, which is not specified in documentation. According to the message: It should be a valid resource id and the private dns zone name should be in either of these formats: 'private.westeurope.azmk8s.io,privatelink.westeurope.azmk8s.io,[a-zA-Z0-9-]{1,32}.private.westeurope.azmk8s.io,[a-zA-Z0-9-]{1,32}.privatelink.westeurope.azmk8s.io

In documentation only one format is specified: CUSTOM_PRIVATE_DNS_ZONE_RESOURCE_ID", which requires you to create a Private DNS Zone in this format for Azure global cloud: privatelink.<region>.azmk8s.io or <subzone>.privatelink.<region>.azmk8s.io


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

michalgozdowski avatar Oct 10 '22 09:10 michalgozdowski

@michalgozdowski Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

VikasPullagura-MSFT avatar Oct 10 '22 11:10 VikasPullagura-MSFT

@MGoedtel Can you please check and add your comments on this doc update request as applicable.

VikasPullagura-MSFT avatar Oct 10 '22 11:10 VikasPullagura-MSFT

@VikasPullagura-MSFT - Yes, reviewing and investigating now to confirm.

MGoedtel avatar Oct 10 '22 14:10 MGoedtel

@VikasPullagura-MSFT and @michalgozdowski - I'm opening a work item to update the article to fix this section of the article to be clearer about custom DNS format details, and confirm related details with the PG.

MGoedtel avatar Nov 16 '22 13:11 MGoedtel

@michalgozdowski - I've been able to get clarification regarding the point you made about custom DNS name. There are two types of private cluster, private link based, which is what the article is based on (that is, version 1 of private cluster), and VNet injection using the API, which is private cluster version 2 (As described in this doc - https://learn.microsoft.com/en-us/azure/aks/api-server-vnet-integration).

The options correspond to the respective private cluster option being used.

I'll be updating the v1 article shortly to reflect those changes so it's clear.

MGoedtel avatar Dec 13 '22 16:12 MGoedtel

I've opened an PR and it merged a short while ago that clarifies the details for using custom DNS between using private link or API Server VNet Integration. The articles go live later today. #please-close

MGoedtel avatar Dec 14 '22 19:12 MGoedtel