unrecognized arguments: --enable-public-fqdn when creating private AKS cluster with public DNS address
See original GitHub issueDescribe the bug
Command Name
az aks create
Errors:
unrecognized arguments: --enable-public-fqdn
To Reproduce:
Steps to reproduce the behavior.
az extension add --name aks-preview
az aks create -n {} -g {} --load-balancer-sku standard --enable-private-cluster --enable-public-fqdn
Expected Behavior
I can create a private AKS cluster with a public DNS address so that I can directly use Azure Pipeline tasks to deploy there (without more advanced networking setups). Doc here.
Environment Summary
Linux-5.4.0-1056-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB
azure-cli 2.27.0 *
Extensions:
aks-preview 0.5.31
ai-examples 0.2.5
ssh 0.1.5
Additional Context
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
General availability: Public DNS support for private Azure ...
This capability simplifies name resolution to your AKS clusters by creating a public DNS record associated to the private IP of the Kubernetes ......
Read more >Fully private AKS clusters — without any public ips — finally!
Using private link we are projecting the private IP address of the AKS master, which is running in an azure managed virtual network...
Read more >DNS Options for Private Azure Kubernetes Service - baeke.info
When you deploy Azure Kubernetes Service (AKS), by default the API server is publicly made available. That means it has a public IP...
Read more >Unrecognized arguments: --dns-azure-config - Help
Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs...
Read more >Custom DNS Configuration: AKS/Kubernetes - Level Up Coding
For it to work, you will have to setup the DNS Forwarder to route traffic for external domains to a public DNS Server....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When the public FQDN feature went GA, public FQDN became on by default. As of the AKS preview extension version 0.5.27, the argument changed from
--enable-public-fqdn
to--disable-public-fqdn
. Please remove this argument from your command/script as it (correctly) is no longer valid.I see. I see that the doc is updated as well. Thank you.