Skip to content

[enterprise-4.20] OSDOCS-15284 [NETOBSERV] Line breaks for network-observability-policy.adoc assembly and its includes #96586

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/network-observability-create-network-policy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:_mod-docs-content-type: PROCEDURE
[id="network-observability-network-policy_{context}"]
= Creating a network policy for Network Observability

If you want to further customize the network policies for the `netobserv` and `netobserv-privileged` namespaces, you must disable the managed installation of the policy from the `FlowCollector` CR, and create your own. You can use the network policy resources that are enabled from the `FlowCollector` CR as a starting point for the procedure that follows:

.Example `netobserv` network policy
Expand Down
3 changes: 2 additions & 1 deletion modules/network-observability-deploy-network-policy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:_mod-docs-content-type: PROCEDURE
[id="network-observability-deploy-network-policy_{context}"]
= Configuring an ingress network policy by using the FlowCollector custom resource

You can configure the `FlowCollector` custom resource (CR) to deploy an ingress network policy for Network Observability by setting the `spec.NetworkPolicy.enable` specification to `true`. By default, the specification is `false`.

If you have installed Loki, Kafka or any exporter in a different namespace that also has a network policy, you must ensure that the Network Observability components can communicate with them. Consider the following about your setup:
Expand All @@ -16,7 +17,7 @@ If you have installed Loki, Kafka or any exporter in a different namespace that
* If you are using Loki and including it in the policy target, connection to an external object storage (as defined in your `LokiStack` related secret)

.Procedure
. . In the web console, go to *Operators* -> *Installed Operators* page.
. In the web console, go to *Operators* -> *Installed Operators* page.
. Under the *Provided APIs* heading for *Network Observability*, select *Flow Collector*.
. Select *cluster* then select the *YAML* tab.
. Configure the `FlowCollector` CR. A sample configuration is as follows:
Expand Down