1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/network-observability-configuring-FLP-sampling.adoc
2023-10-30 10:13:25 -04:00

19 lines
724 B
Plaintext

// Module included in the following assemblies:
// * networking/network_observability/configuring-operators.adoc
:_mod-docs-content-type: PROCEDURE
[id="network-observability-config-FLP-sampling_{context}"]
= Updating the Flow Collector resource
As an alternative to editing YAML in the {product-title} web console, you can configure specifications, such as eBPF sampling, by patching the `flowcollector` custom resource (CR):
.Procedure
. Run the following command to patch the `flowcollector` CR and update the `spec.agent.ebpf.sampling` value:
+
[source,terminal]
----
$ oc patch flowcollector cluster --type=json -p "[{"op": "replace", "path": "/spec/agent/ebpf/sampling", "value": <new value>}] -n netobserv"
----