wu-cl / cyclonus

Tools for understanding, measuring, and applying network policies effectively in kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cyclonus

Network policy explainer, prober, and test case generator

Parse, explain, and probe network policies to understand their implications and help design policies that suit your needs!

Quickstart

Users: check out our Quickstart guide

Developers: check out our Developer guide

Cyclonus functionality:

Integrations

Cyclonus is available as a krew/kubectl plugin:

  • Set up krew
  • install: kubectl krew install cyclonus
  • use: kubectl cyclonus -h

Antrea testing: Cyclonus runs network policy tests for Antrea on a daily basis.

Cilium testing: Cyclonus runs network policy tests for Cilium on a daily basis.

Sonobuoy plugin: run Cyclonus tests through Sonobuoy.

Motivation and History

Testing network policies for CNI providers on Kubernetes has historically been very difficult, requiring a lot of boiler plate. This was recently improved upstream via truth table based tests (see KEP). Cyclonus is the next evolution of the truth table tests which are part of upstream Kubernetes. Cyclonus generates hundreds of network policies, their connectivity tables, and outputs results in the same, easy to read format.

Thanks to contributors

  • @dougsland
  • @jayunit100
  • @johnSchnake
  • @enhaocui
  • @matmerr

About

Tools for understanding, measuring, and applying network policies effectively in kubernetes

License:MIT License


Languages

Language:Go 98.2%Language:Shell 1.7%Language:Makefile 0.1%Language:Dockerfile 0.1%