question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unrecognized arguments: --enable-public-fqdn when creating private AKS cluster with public DNS address

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
phealycommented, Sep 13, 2021

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.

0reactions
nguyenlamlllcommented, Sep 14, 2021

I see. I see that the doc is updated as well. Thank you.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found