i've been mucking about with calico on my #homelab #kubernetes cluster, and it took me far far too long to visit the whisker console: https://docs.tigera.io/calico/latest/observability/view-flow-logs

this is unbelievably helpful for debugging firewall rules

i'm very tempted to switch to calico on my non-k8s systems now (e.g. Linux gaming PC), so i can be back to only having 1 firewall abstraction in my brain

all 2 comments

sorted by: hot top controversial new old
[–] 2 points 1 year ago (1 child)

So its like Ntop for Kubernetes? Is it better than Ntop?

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 1 year ago

    thanks, i hadn't actually heard of ntop / ntopng before!

    i believe ntopng works everywhere independent of whether calico is installed or not (and even calico is a Kubernetes-compatible and Kubernetes-optional system, just like ntopng)

    but, calico whisker displays networking information made available by the rest of calico, so it's able to give you a live display of when a firewall rule managed by calico is allowing or blocking traffic

    i think this particular feature is absent from ntopng, but i could be wrong

  • source
  • parent
  • 3 comments in c/linux@programming.dev view that post
    [–] 2 points 1 year ago

    Looks neat, but I can't seem to find docs for non-container workloads. I'm using microvms and using it with them would be cool.

    If you want an easy firewall option for a gaming PC, I'd recommend looking at Portmaster

  • source
  • I just installed Ciliium (another Kubernets CNI), and it also comes with a host based firewall, and an observability tool.

    I didn't have Hubble (observability tool enabled), but I previously didn't have a firewall, and I finally decided to enable it, which caused my ceph deployment to fail. This will help me figure out where it is failing and what rules are needed to remediate it.

  • source
  • I've been told that it struggles at very high scale. But other than that, everyone I know of who has tried it, like it.

  • source