Is it possible to use Cilium just for network observability?
Asked by
TechWhiz42
Hi folks! I'm working on optimizing CoreDNS and want to set `ndots: 2` for a few specific apps in our staging environment to see how it goes. The challenge is identifying which app is failing DNS queries, since I can only access the overall failed request metrics through PromQL. So, my question is: can I install Cilium and use it solely for network observability? Thanks for any insights!
Answers
You can actually use Cilium just for observability, but it can feel a bit heavy! If you enable Hubble, you'll gain per-pod DNS visibility, which might be exactly what you're missing right now instead of just those aggregated metrics. Just keep in mind that it's not a lightweight add-on; it's like replacing your entire networking stack. It could also be worthwhile to check the CoreDNS logs or enable more detailed metrics before going down that path.
Reply to this answer
If you're looking for something similar but more agnostic, you might want to check out 'netobserv.' It works independently of CNI and can report things like NXDomain errors. Just ask if you need any help getting it set up!
Reply to this answer
Nope, if you want visibility, you also need to enable the networking features. Without those, there won't be anything to observe.
Reply to this answer
You could potentially run Cilium in a chained mode to manage just the network policies, and that should be sufficient for observability. However, it's a significant alteration in your cluster setup, so I'd caution against it unless necessary.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions