1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/network-observability-netobserv-cli-install.adoc
Sara Thomas 4815076502 OSDOCS-10171: Deduper merge mode
Integrate NetObserv 1.6 feature branch with OCP docs main branch

OSDOCS-10211: eBPF flow rule filtering

OSDOCS-9959: NetObserv Health dashboard updates

Fixes xref error

Flow format reference regeneration

Update DNS example to include sampling>1 note

OSDOCS-9553: Netobserv Lokiless enhancements

OSDOCS-10790: Update NetObserv Operator Install prereqs

OSDOCS-10747: Adding FlowMetric API Reference

Changing FlowMetrics to FlowMetric

Netobserv API doc regeneration

OSDOCS-9969: netobserv cli

Network Observability 1.6 release notes
2024-06-17 12:20:10 +00:00

55 lines
1.4 KiB
Plaintext

// Module included in the following assemblies:
// * observability/network_observability/netobserv_cli/netobserv-cli-install.adoc
:_mod-docs-content-type: PROCEDURE
[id="network-observability-cli-install_{context}"]
= Installing the Network Observability CLI
Installing the Network Observability CLI (`oc netobserv`) is a separate procedure from the Network Observability Operator installation. This means that, even if you have the Operator installed from OperatorHub, you need to install the CLI separately.
[NOTE]
====
You can optionally use Krew to install the `netobserv` CLI plugin. For more information, see "Installing a CLI plugin with Krew".
====
.Prerequisites
* You must install the {oc-first}.
* You must have a macOS or Linux operating system.
.Procedure
. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/netobserv/latest/[`oc netobserv` CLI tar file].
. Unpack the archive:
+
[source,terminal]
----
$ tar xvf netobserv-cli.tar.gz
----
. Make the file executable:
+
[source,terminal]
----
$ chmod +x ./build/oc-netobserv
----
. Move the extracted `netobserv-cli` binary to a directory that is on your `PATH`, such as `/usr/local/bin/`:
+
[source,terminal]
----
$ sudo mv ./build/oc-netobserv /usr/local/bin/
----
.Verification
* Verify that `oc netobserv` is available:
+
[source,terminal]
----
$ oc netobserv version
----
+
.Example output
[source,terminal]
----
Netobserv CLI version <version>
----