kube-network-flow

command module
v0.0.0-...-0cd6877 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

README

kube-network-flow

What for?

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

Usage

Usage of ./kube-network-flow:
  -kubeconfig string
    	(optional) absolute path to the kubeconfig file (default "/Users/srua/.kube/config")
  -namespace string
    	Limit to just this namespace (default all)
  -policy string
    	Limit to just this policy (default all)
  -template string
    	absolute path to the template file
  -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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL