×

Red Hat offers cluster administrators the Network Observability Operator to observe the network traffic for OKD clusters. The Network Observability Operator uses the eBPF technology to create network flows. The network flows are then enriched with OKD information and stored in Loki. You can view and analyze the stored network flows information in the OKD console for further insight and troubleshooting.

Dependency of Network Observability Operator

The Network Observability Operator requires the following Operators:

  • Loki: You must install Loki. Loki is the backend that is used to store all collected flows. It is recommended to install Loki by installing the Red Hat Loki Operator for the installation of Network Observability Operator.

Optional dependencies of the Network Observability Operator

  • Grafana: You can install Grafana for using custom dashboards and querying capabilities, by using the Grafana Operator. Red Hat does not support Grafana Operator.

  • Kafka: It provides scalability, resiliency and high availability in the OKD cluster. It is recommended to install Kafka using the AMQ Streams operator for large scale deployments.

Network Observability Operator

The Network Observability Operator provides the Flow Collector API custom resource definition. A Flow Collector instance is created during installation and enables configuration of network flow collection. The Flow Collector instance deploys pods and services that form a monitoring pipeline where network flows are then collected and enriched with the Kubernetes metadata before storing in Loki. The eBPF agent, which is deployed as a daemonset object, creates the network flows.

OKD console integration

OKD console integration offers overview, topology view and traffic flow tables.

Network Observability metrics

The OKD console offers the Overview tab which displays the overall aggregated metrics of the network traffic flow on the cluster. The information can be displayed by node, namespace, owner, pod, and service. Filters and display options can further refine the metrics.

In ObserveDashboards, the Netobserv dashboard provides a quick overview of the network flows in your OKD cluster. You can view distillations of the network traffic metrics in the following categories:

  • Top flow rates per source and destination namespaces (1-min rates)

  • Top byte rates emitted per source and destination nodes (1-min rates)

  • Top byte rates received per source and destination nodes (1-min rates)

  • Top byte rates emitted per source and destination workloads (1-min rates)

  • Top byte rates received per source and destination workloads (1-min rates)

  • Top packet rates emitted per source and destination workloads (1-min rates)

  • Top packet rates received per source and destination workloads (1-min rates)

You can configure the FlowCollector spec.processor.metrics to add or remove metrics by changing the ignoreTags list. For more information about available tags, see the Flow Collector API Reference

Also in ObserveDashboards, the Netobserv/Health dashboard provides metrics about the health of the Operator.

Network Observability topology views

The OKD console offers the Topology tab which displays a graphical representation of the network flows and the amount of traffic. The topology view represents traffic between the OKD components as a network graph. You can refine the graph by using the filters and display options. You can access the information for node, namespace, owner, pod, and service.

Traffic flow tables

The traffic flow table view provides a view for raw flows, non aggregated filtering options, and configurable columns. The OKD console offers the Traffic flows tab which displays the data of the network flows and the amount of traffic.