-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Redo-OSDOCS-14786 [NETOBSERV] Add section for IPSec #95159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
modules/network-observability-con_filter-network-flows-at-ingestion.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| // Module included in the following assemblies: | ||
|
|
||
| // * networking/network_observability/configuring-operators.adoc | ||
|
|
||
| :_mod-docs-content-type: CONCEPT | ||
| [id="network-observability-filter-network-flows-at-ingestion_{context}"] | ||
| = Filter network flows at ingestion | ||
|
|
||
| You can create filters to reduce the number of generated network flows. Filtering network flows can reduce the resource usage of the Network Observability components. | ||
|
|
||
| You can configure two kinds of filters: | ||
|
|
||
| * eBPF agent filters | ||
| * Flowlogs-pipeline filters | ||
|
|
||
| [id="ebpf-agent-filters_{context}"] | ||
| == eBPF agent filters | ||
|
|
||
| eBPF agent filters maximize performance because they take effect at the earliest stage of the network flows collection process. | ||
|
|
||
| To configure eBPF agent filters with the Network Observability Operator, see "Filtering eBPF flow data using multiple rules". | ||
|
|
||
| [id="flowlogs-pipeline-filters_{context}"] | ||
| == Flowlogs-pipeline filters | ||
|
|
||
| Flowlogs-pipeline filters provide greater control over traffic selection because they take effect later in the network flows collection process. They are primarily used to improve data storage. | ||
|
|
||
| Flowlogs-pipeline filters use a simple query language to filter network flow, as shown in the following example: | ||
|
|
||
| [source,terminal] | ||
| ---- | ||
| (srcnamespace="netobserv" OR (srcnamespace="ingress" AND dstnamespace="netobserv")) AND srckind!="service" | ||
| ---- | ||
|
|
||
| The query language uses the following syntax: | ||
|
|
||
| .Query language syntax | ||
| [cols="1,3", options="header"] | ||
| |=== | ||
| | Category | ||
| | Operators | ||
|
|
||
| | Logical boolean operators (not case-sensitive) | ||
| | `and`, `or` | ||
|
|
||
| | Comparison operators | ||
| | `=` (equals), + | ||
| `!=` (not equals), + | ||
| `=~` (matches regexp), + | ||
| `!~` (not matches regexp), + | ||
| `<` / `\<=` (less than or equal to), + | ||
| `>` / `>=` (greater than or equal to) | ||
|
|
||
| | Unary operations | ||
| | `with(field)` (field is present), + | ||
| `without(field)` (field is absent) | ||
|
|
||
| | Parenthesis-based priority | ||
| |=== | ||
|
|
||
| You can configure flowlogs-pipeline filters in the `spec.processor.filters` section of the `FlowCollector` resource. For example: | ||
|
|
||
| .Example YAML Flowlogs-pipeline filter | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: flows.netobserv.io/v1beta2 | ||
| kind: FlowCollector | ||
| metadata: | ||
| name: cluster | ||
| spec: | ||
| namespace: netobserv | ||
| agent: | ||
| processor: | ||
| filters: | ||
| - query: | | ||
| (SrcK8S_Namespace="netobserv" OR (SrcK8S_Namespace="openshift-ingress" AND DstK8S_Namespace="netobserv")) | ||
| outputTarget: Loki <1> | ||
| sampling: 10 <2> | ||
| ---- | ||
| <1> Sends matching flows to a specific output, such as Loki, Prometheus, or an external system. When omitted, sends to all configured outputs. | ||
| <2> Optional. Applies a sampling ratio to limit the number of matching flows to be stored or exported. For example, `sampling: 10` means 1/10 of the flows are kept. | ||
13 changes: 13 additions & 0 deletions
13
modules/network-observability-con_user-defined-networks.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * network_observability/observing-network-traffic.adoc | ||
|
|
||
| :_mod-docs-content-type: CONCEPT | ||
| [id="network-observability-user-defined-networks_{context}"] | ||
| = User-defined networks | ||
|
|
||
| User-defined networks (UDN) improve the flexibility and segmentation capabilities of the default Layer 3 topology for a Kubernetes pod network by enabling custom Layer 2 and Layer 3 network segments, where all these segments are isolated by default. These segments act as primary or secondary networks for container pods and virtual machines that use the default OVN-Kubernetes CNI plugin. | ||
|
|
||
| UDNs enable a wide range of network architectures and topologies, enhancing network flexibility, security, and performance. | ||
|
|
||
| When the `UDNMapping` feature is enabled with Network Observability, the *Traffic* flow table has a *UDN labels* column. You can filter on *Source Network Name* and *Destination Network Name*. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.