You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -526,6 +526,14 @@ endif
526
526
@echo ""
527
527
@echo "Everything is ready to be pushed. Before that, you should compare the content of $(BUNDLE_VERSION) with $(PREVIOUS_VERSION) to make sure it looks correct."
528
528
529
+
# Update helm templates
530
+
.PHONY: helm-update
531
+
helm-update: YQ ## Update helm template
532
+
sed -i -r 's/appVersion:.*/appVersion: $(BUNDLE_VERSION)/g' helm/Chart.yaml
533
+
sed -i -r 's/version:.*/version: $(BUNDLE_VERSION:%-community=%)/g' helm/Chart.yaml
Copy file name to clipboardExpand all lines: README.md
+58-9Lines changed: 58 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,24 +16,73 @@ Flow data is then available in multiple ways, each optional:
16
16
17
17
## Getting Started
18
18
19
-
You can install NetObserv Operator using [OLM](https://olm.operatorframework.io/) if it is available in your cluster, or directly from its repository.
19
+
You can install the NetObserv Operator using [Helm](https://helm.sh/), or directly from sources.
20
20
21
-
### Install with OLM
21
+
In OpenShift, NetObserv is named Network Observability operator and can be found in OperatorHub as an OLM operator. This section does not apply to it: please refer to the [OpenShift documentation](https://docs.openshift.com/container-platform/latest/observability/network_observability/installing-operators.html) in that case.
22
22
23
23
> [!IMPORTANT]
24
-
> There hasn't been recent releases pushed to the community OperatorHub. This is mostly due to the lack of demand. Unless there is demand, going forward we only release the downstream NetObserv aka [Network Observability operator](https://docs.openshift.com/container-platform/latest/observability/network_observability/network-observability-operator-release-notes.html) for OpenShift. But there's nothing written in stone. [Let us know](https://github.com/netobserv/network-observability-operator/discussions) if you would like that to change.
24
+
> NetObserv community was previously distributed via [OperatorHub](https://operatorhub.io/operator/netobserv-operator). This installation method is replaced with a helm chart. If you previously installed NetObserv community from OperatorHub, we recommend that you uninstall it, and re-install using the helm chart. The operation should not cause any data loss.
25
25
26
-
NetObserv Operator is available in [OperatorHub](https://operatorhub.io/operator/netobserv-operator) with guided steps on how to install this. It is also available in the OperatorHub catalog directly in the OpenShift Console.
PORT_FWD=false make deploy-prometheus deploy-loki install-cert-manager
40
+
# (it is expected to see errors while running this script, since it runs several attempts creating a certificate for testing, before eventually succeeding)
41
+
```
35
42
36
-
Refer to the [Configuration section](#configuration) of this document.
43
+
### Install with Helm
44
+
45
+
Check it out on [ArtifactHub](https://artifacthub.io/packages/helm/netobserv/netobserv-operator).
# If you're in OpenShift, you can omit "--set standaloneConsole.enable=true" to use the Console plugin instead.
51
+
```
52
+
53
+
You can now create a `FlowCollector` resource. Refer to the [Configuration section](#configuration) of this document. A very short `FlowCollector` should work, using default values, plus with the standalone console enabled:
54
+
55
+
```bash
56
+
cat <<EOF | kubectl apply -f -
57
+
apiVersion: flows.netobserv.io/v1beta2
58
+
kind: FlowCollector
59
+
metadata:
60
+
name: cluster
61
+
spec:
62
+
namespace: netobserv
63
+
consolePlugin:
64
+
advanced:
65
+
env:
66
+
TEST_CONSOLE: "true"
67
+
prometheus:
68
+
querier:
69
+
manual:
70
+
url: http://prometheus:9090
71
+
EOF
72
+
```
73
+
74
+
A few remarks:
75
+
- While the [web console](https://github.com/netobserv/network-observability-console-plugin) is primarily designed as a plugin for the OpenShift Console, it is still possible to deploy it as a standalone, which the dev team sometimes use for testing. This is why it is mentioned as "TEST_CONSOLE" here.
76
+
- If you're in OpenShift, you should omit "TEST_CONSOLE: true" to use the Console plugin instead, which offers a better / more integrated experience.
77
+
- You can change the Prometheus URL depending on your installation. This example URL works if you use the `make deploy-prometheus` script from the repository. Prometheus configuration options are documented [here](./docs/FlowCollector.md#flowcollectorspecprometheus-1).
78
+
79
+
To view the test console, you can port-forward 9001:
0 commit comments