Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Feature: Simple NetFlow Exporter for Kindnet #152

@aojea

Description

@aojea

Kindnet already has the node conntrack flow information

// log connecvtions summary
klog.V(4).Infof("connection: %s\torig: src=%s:%d dst=%s:%d packets=%d bytes=%d -- reply: src=%s:%d dst=%s:%d packets=%d bytes=%d duration=%v",

We need a simple NetFlow exporter for Kindnet that can translate conntrack flow data into NetFlow records and send them to a collector.

The tasks should be something like:

  • allow users to define an ipfor a netflow collector
  • get the existing conntrack flows, and if a collector is defined, format the data and sent it to the collector
  • optimize for efficiency, avoiding impact kindnet performance
  • bonus: documentation and/or tutorial on how to use it

Refernce: https://blog.palark.com/kubernetes-services-interaction-monitoring-with-netflow/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions