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.

"DNS is enabled" is printed prematurely

See original GitHub issue

When I run microk8s enable dns I see the following output:

Enabling DNS
# ...
DNS is enabled

However this is false:

$ microk8s.kubectl wait --for=condition=ready pod -l k8s-app=kube-dns -n kube-system --timeout=180s
error: no matching resources found

A while later when I repeat the same command

$ microk8s.kubectl wait --for=condition=ready pod -l k8s-app=kube-dns -n kube-system --timeout=180s
pod/coredns-7f9c69c78c-dbbb2 condition met

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ktsakalozoscommented, Oct 28, 2021

@sed-i you could use the microk8s kubectl rollout status to wait for the deployment to finish.

0reactions
ktsakalozoscommented, Oct 28, 2021

@ktsakalozos do you mean

Sounds right

Read more comments on GitHub >

github_iconTop Results From Across the Web

"DNS is enabled" is printed prematurely · Issue #2687 · canonical ...
When I run microk8s enable dns I see the following output: Enabling DNS # ... DNS is enabled However this is false: $...
Read more >
Troubleshoot DNS Event ID 4013 - Windows Server
DNS Event ID 4013 in the DNS event log indicates that DNS service startup was delayed. It's because inbound replication of Active Directory ......
Read more >
Troubleshooting - Cisco Umbrella Documentation
If the Umbrella roaming client (127.0.0.1 and/or ::1) is returning a public IP and querying the local DNS servers is returning a private...
Read more >
What is a DNS server? - Cloudflare
DNS servers can fail for multiple reasons, such as power outages, cyber attacks, and hardware malfunctions. In the early days of the Internet,...
Read more >
What is DNS and how does it work? - Network World.com
In the 1970s and early 80s, the task of matching domain names and IP addresses was assigned to one person - Elizabeth Feinler...
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