项目作者: sergiorua

项目描述 :
Traffic flow chart from NetworkPolicy
高级语言: Go
项目地址: git://github.com/sergiorua/kube-network-flow.git
创建时间: 2019-10-08T12:05:33Z
项目社区:https://github.com/sergiorua/kube-network-flow

开源协议:Apache License 2.0

下载


kube-network-flow

What for?

It allows you to create a UML visualization of your Network Policies.

Usage

  1. Usage of ./kube-network-flow:
  2. -kubeconfig string
  3. (optional) absolute path to the kubeconfig file (default "/Users/srua/.kube/config")
  4. -namespace string
  5. Limit to just this namespace (default all)
  6. -policy string
  7. Limit to just this policy (default all)
  8. -template string
  9. absolute path to the template file
  10. -v Verbose

The command execution returns a list of all the network policies in UML format. There is a default PlantUML template similar to the file net_template.plantuml.tmpl this repository but you can create your own using Golang templates.

Display

There are many ways to display the results, see this website: http://plantuml.com/running

Sample

Sample Output UML