3

How could I monitor the network policies behavior?

I have a k8s cluster with calico as SDN.

For example I create a network policy to deny traffic from a set of IPs.

I try to make some executions from those IPs and they fail.

Where can I see that that traffic is being rejected because a Network policy?

Thank you.

Anton Kostenko
  • 8,200
  • 2
  • 30
  • 37
Jxadro
  • 1,497
  • 2
  • 16
  • 36

1 Answers1

0

There is no such possibility by default, but you can try to follow this instruction to create a user interface that shows blocked and allowed connections in real time.

Also, Getting started with Calico could be useful.

You can find Calico logs in the /var/log/calico folder on the Calico pod.

More about logging please find here: Calico Logging.

Akar
  • 574
  • 3
  • 8