/sflow-ovs-installer

[PoC] A tool that installs and configures sFlow with Open vSwitch

Primary LanguageGo

sflow-ovs-installer

Is a daemonset deployment that would:

  • configure Open vSwitch with sFlow
  • start sFlow in a POD.

How to deploy

Configure sFlow parameters in networkmachinery-sflow-cm-example.yaml then apply the Daemonset

examples
├── networkmachinery-sflow-cm-example.yaml
└── networkmachinery-sflow-daemonset-example.yaml

A make file is available for building / tagging / pushing / testing:

Management commands for sflow-ovs-installer:

Usage:
    make build           Compile the project.
    make vendor          runs go mod vendor, mostly used for ci.
    make build-alpine    Compile optimized for alpine linux.
    make package         Build final docker image with just the go binary inside
    make tag             Tag image created by package with latest, git commit and version
    make test            Run tests on a compiled project.
    make push            Push tagged images to registry
    make clean           Clean the directory tree