Network Observability Operator in OKD
The Network Observability Operator provides the Flow Collector API. When a Flow Collector resource is created, it deploys pods and services to create and store network flows in the Loki log store, as well as to display dashboards, metrics, and flows in the OKD web console.
Procedure
Run the following command to view the state of :
Example output
NAME AGENT SAMPLING (EBPF) DEPLOYMENT MODEL STATUS
cluster EBPF 50 DIRECT Ready
-
$ oc get pods -n netobserv
Example output
flowlogs-pipeline
pods collect flows, enriches the collected flows, then send flows to the Loki storage. netobserv-plugin
pods create a visualization plugin for the OKD Console.
Check the status of pods running in the namespace
netobserv-privileged
by entering the following command:$ oc get pods -n netobserv-privileged
Example output
NAME READY STATUS RESTARTS AGE
netobserv-ebpf-agent-6gbrk 1/1 Running 0 151m
netobserv-ebpf-agent-vrcnf 1/1 Running 0 151m
netobserv-ebpf-agent-xf5jh 1/1 Running 0 151m
If you are using a Loki Operator, check the status of pods running in the
openshift-operators-redhat
namespace by entering the following command:Example output
NAME READY STATUS RESTARTS AGE
loki-operator-controller-manager-5f6cff4f9d-jq25h 2/2 Running 0 18h
lokistack-compactor-0 1/1 Running 0 18h
lokistack-distributor-654f87c5bc-qhkhv 1/1 Running 0 18h
lokistack-distributor-654f87c5bc-skxgm 1/1 Running 0 18h
lokistack-index-gateway-1 1/1 Running 0 18h
lokistack-ingester-0 1/1 Running 0 18h
lokistack-ingester-1 1/1 Running 0 18h
lokistack-ingester-2 1/1 Running 0 18h
lokistack-querier-66747dc666-6vh5x 1/1 Running 0 18h
lokistack-querier-66747dc666-cjr45 1/1 Running 0 18h
lokistack-querier-66747dc666-xh8rq 1/1 Running 0 18h
lokistack-query-frontend-85c6db4fbd-b2xfb 1/1 Running 0 18h
lokistack-query-frontend-85c6db4fbd-jm94f 1/1 Running 0 18h
Viewing Network Observability Operator status and configuration
You can inspect the status and view the details of the FlowCollector
using the oc describe
command.
Procedure