Cyclonus Save

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

Project README

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 the:

Developers: check out the Developer guide

CLI usage

Cyclonus disambiguation

If you're looking for the official kubernetes network policy tool, check out: https://github.com/kubernetes-sigs/network-policy-api . Active development of network policy verification is continuing there.

https://github.com/mattfenwick/cyclonus will remain open and be used for research, experimentation, and hacking!

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 boilerplate.

This was recently improved upstream via truth table based tests:

Cyclonus is the next evolution: in addition to truth-table connectivity tests, it adds two new components:

  • a powerful network policy engine implementing the Kubernetes network policy specification
  • a test case generator, allowing for easy testing of hundreds of network policy scenarios

Cyclonus aims to make network policies and implementations easy to understand, easy to use correctly, and easy to verify.

Thanks to contributors

  • @dougsland
  • @jayunit100
  • @johnSchnake
  • @enhaocui
  • @matmerr
  • @huntergregory
  • @jaydeokar
Open Source Agenda is not affiliated with "Cyclonus" Project. README Source: mattfenwick/cyclonus
Stars
104
Open Issues
16
Last Commit
6 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating