-
Notifications
You must be signed in to change notification settings - Fork 145
OCPBUGS-60303, NETOBSERV-2023: Implement a quickstart for netobserv operator #955
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
Changes from all commits
a8a4566
4ac478c
88f4128
be9cf80
100e131
af8eb8e
4dc840a
70e7e9f
73d1209
4706403
57fdc93
0a36463
9abbe11
e7b4d3f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
apiVersion: console.openshift.io/v1 | ||
kind: ConsoleQuickStart | ||
metadata: | ||
name: netobserv | ||
spec: | ||
conclusion: Your Network Observability Operator is installed and configured. | ||
description: Install Network Observability Operator and deploy a FlowCollector to monitor your network. | ||
displayName: Observe the cluster network traffic | ||
durationMinutes: 5 | ||
icon: 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGU+LnN0MXtmaWxsOiNmZmZ9LnN0M3tvcGFjaXR5Oi41fTwvc3R5bGU+PHBhdGggZD0iTTUwIDk5Yy0xMy4zIDAtMjUuNC01LjMtMzQuMi0xMy45QzYuNyA3Ni4yIDEgNjMuNyAxIDUwIDEgMjIuOSAyMi45IDEgNTAgMWMxMy43IDAgMjYuMiA1LjcgMzUuMSAxNC44QzkzLjcgMjQuNiA5OSAzNi43IDk5IDUwYzAgMjcuMS0yMS45IDQ5LTQ5IDQ5IiBzdHlsZT0iZmlsbDojMDAwIj48L3BhdGg+PGNpcmNsZSBjbGFzcz0ic3QxIiBjeD0iMzcuNSIgY3k9IjgxLjkiIHI9IjUiPjwvY2lyY2xlPjxwYXRoIGNsYXNzPSJzdDEiIGQ9Im00OC42IDkxLjkgMTguOC00My4zYy0yLjUtLjEtNS0uNy03LjItMmwtMjcgMjEuNiAxLjQtMS44IDIwLTI1LjFjLTEuNS0yLjQtMi4zLTUuMS0yLjMtNy45TDkgNTIuMmw0Ny42LTI5LjkuMi0uMmM2LjEtNi4xIDE1LjktNi4xIDIyIDBsLjEuMWM2IDYuMSA2IDE1LjktLjEgMjEuOWwtLjIuMnoiPjwvcGF0aD48Y2lyY2xlIGNsYXNzPSJzdDEiIGN4PSI1MC4zIiBjeT0iMTQuNyIgcj0iMy4xIiBzdHlsZT0ib3BhY2l0eTouNiI+PC9jaXJjbGU+PGcgY2xhc3M9InN0MyI+PGNpcmNsZSBjbGFzcz0ic3QxIiBjeD0iMjcuNyIgY3k9IjU4IiByPSIxLjciPjwvY2lyY2xlPjwvZz48Y2lyY2xlIGNsYXNzPSJzdDEiIGN4PSI3Ny40IiBjeT0iNjkuMyIgcj0iMS43Ij48L2NpcmNsZT48Y2lyY2xlIGNsYXNzPSJzdDEiIGN4PSIxNi4zIiBjeT0iMzYuNiIgcj0iMS43Ij48L2NpcmNsZT48Y2lyY2xlIGNsYXNzPSJzdDEiIGN4PSI2My43IiBjeT0iODUuOSIgcj0iMi4yIiBzdHlsZT0ib3BhY2l0eTouNCI+PC9jaXJjbGU+PGNpcmNsZSBjbGFzcz0ic3QxIiBjeD0iMjkuNCIgY3k9IjE5LjYiIHI9IjQuOCI+PC9jaXJjbGU+PGcgY2xhc3M9InN0MyI+PGNpcmNsZSBjbGFzcz0ic3QxIiBjeD0iODgiIGN5PSI1MCIgcj0iNC44Ij48L2NpcmNsZT48L2c+PC9zdmc+' | ||
introduction: |- | ||
### In this quick start, you'll deploy and configure Network Observability Operator to get an overview of your cluster network traffic including ingress and egress traffic. | ||
For more information on Network Observability, see the related [OpenShift documentation](https://docs.openshift.com/container-platform/latest/observability/network_observability/network-observability-overview.html)'. | ||
tags: | ||
- network | ||
- observability | ||
- netobserv | ||
tasks: | ||
- description: |- | ||
You can install the Network Observability Operator using the OpenShift Container Platform web console Operator Hub. When you install the Operator, it provides the FlowCollector custom resource definition (CRD). You can set specifications in the web console when you create the FlowCollector. | ||
1. In the OpenShift Container Platform web console, click **OperatorHub** from the [Operators]{{highlight qs-nav-operators}} → OperatorHub. | ||
2. Choose **Network Observability Operator** from the list of available Operators in the OperatorHub, and click **Install**. | ||
Comment on lines
+21
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it possible to provide a direct link to that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think so as you usually need to search for it first 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But isn't it what lightspeed is doing? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it works if you remove the channel ? Else I feel it's not worth. None of the existing quickstarts are doing such. |
||
3. Select the checkbox **Enable Operator recommended cluster monitoring on this Namespace**. | ||
review: | ||
failedTaskHelp: This task isn’t verified yet. Try the task again. | ||
instructions: |- | ||
#### Verify the operator was successfully installed: | ||
Navigate to **Operators** → **Installed Operators**. | ||
Is the Network Observability Operator listed? | ||
summary: | ||
failed: Try the steps again. | ||
success: Great work! You successfully installed the Network Observability Operator. | ||
title: Install the Network Observability Operator | ||
- description: |- | ||
In order to start capturing traffic, you need to create a **FlowCollector** resource to configure the components of Network Observability Operator. | ||
|
||
1. Navigate to Operators → Installed Operators and select **Network Observability Operator**. | ||
|
||
2. Navigate to the **FlowCollector** tab, and click **Create FlowCollector**. Make the following selections in the form view: | ||
|
||
2.1 **spec.agent.ebpf.Sampling**: Specify a sampling value for flows. Lower sampling values will have higher impact on resource utilization. For more information, see the "FlowCollector API reference", spec.agent.ebpf. | ||
|
||
2.2 If you are not using Loki, click Loki client settings and change **Enable** to **False**. The setting is True by default. | ||
|
||
2.3 If you are using Loki, set the following specifications: | ||
|
||
i. **spec.loki.mode**: Set this to the **LokiStack** mode, which automatically sets URLs, TLS, cluster roles and a cluster role binding, as well as the authToken value. Alternatively, the Manual mode allows more control over configuration of these settings. | ||
|
||
ii. **spec.loki.lokistack.name**: Set this to the name of your LokiStack resource. In this documentation, loki is used. | ||
Comment on lines
+43
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @stleerh you mentionned you would like to point out Loki Operator doc. How do you want to handle it here ? |
||
|
||
2.4 Optional: If you are in a large-scale environment, consider configuring the FlowCollector with **Kafka** for forwarding data in a more resilient, scalable way. See "Configuring the Flow Collector resource with Kafka storage" in the "Important Flow Collector configuration considerations" section. | ||
|
||
|
||
3. Click Create. | ||
review: | ||
failedTaskHelp: This task isn’t verified yet. Try the task again. | ||
instructions: |- | ||
#### Verify the traffic captured: | ||
Do you see Network Traffic listed in the **Observe** section in the administrator perspective? | ||
In the absence of Application Traffic within the OpenShift Container Platform cluster, default filters might show that there are "No results", which results in no visual flow. Beside the filter selections, select **Clear all filters** to see the flow. | ||
summary: | ||
failed: Try the steps again. | ||
success: Great work! You configured the Network Observability FlowCollector. | ||
title: Configure the FlowCollector |
Uh oh!
There was an error while loading. Please reload this page.