Installing the eBPF Manager Operator
To manage eBPF programs across your cluster nodes, you can install the eBPF Manager Operator by using the OpenShift Container Platform CLI or the web console. This Operator provides a standardized way to deploy, monitor, and secure eBPF-based networking and observability tools.
Important
eBPF Manager Operator is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
Installing the eBPF Manager Operator using the CLI
To manage eBPF programs across your cluster nodes, you can install the eBPF Manager Operator by using the OpenShift Container Platform CLI. This process involves creating a dedicated namespace and subscribing to the Operator to enable node-level networking and observability tools.
-
You have installed the OpenShift CLI (
oc). -
You have an account with administrator privileges.
-
To create the
bpfmannamespace, enter the following command:$ cat << EOF| oc create -f - apiVersion: v1 kind: Namespace metadata: labels: pod-security.kubernetes.io/enforce: privileged pod-security.kubernetes.io/enforce-version: v1.24 name: bpfman EOF -
To create an
OperatorGroupCR, enter the following command:$ cat << EOF| oc create -f - apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: bpfman-operators namespace: bpfman EOF -
Subscribe to the eBPF Manager Operator.
-
To create a
SubscriptionCR for the eBPF Manager Operator, enter the following command:$ cat << EOF| oc create -f - apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: bpfman-operator namespace: bpfman spec: name: bpfman-operator channel: alpha source: community-operators sourceNamespace: openshift-marketplace EOF
-
-
To verify that the Operator is installed, enter the following command:
$ oc get ip -n bpfmanExample outputNAME CSV APPROVAL APPROVED install-ppjxl security-profiles-operator.v0.8.5 Automatic true -
To verify the version of the Operator, enter the following command:
$ oc get csv -n bpfmanExample outputNAME DISPLAY VERSION REPLACES PHASE bpfman-operator.v0.5.0 eBPF Manager Operator 0.5.0 bpfman-operator.v0.4.2 Succeeded
Installing the eBPF Manager Operator using the web console
As a cluster administrator, you can install the eBPF Manager Operator using the web console.
-
You have installed the OpenShift CLI (
oc). -
You have an account with administrator privileges.
-
Install the eBPF Manager Operator:
-
In the OpenShift Container Platform web console, click Ecosystem → Software Catalog.
-
Select eBPF Manager Operator from the list of available Operators, and if prompted to Show community Operator, click Continue.
-
Click Install.
-
On the Install Operator page, under Installed Namespace, select Operator recommended Namespace.
-
Click Install.
-
-
Verify that the eBPF Manager Operator is installed successfully:
-
Navigate to the Ecosystem → Installed Operators page.
-
Ensure that eBPF Manager Operator is listed in the openshift-ingress-node-firewall project with a Status of InstallSucceeded.
Note
During installation an Operator might display a Failed status. If the installation later succeeds with an InstallSucceeded message, you can ignore the Failed message.
If the Operator does not have a Status of InstallSucceeded, troubleshoot using the following steps:
-
Inspect the Operator Subscriptions and Install Plans tabs for any failures or errors under Status.
-
Navigate to the Workloads → Pods page and check the logs for pods in the
bpfmanproject.
-
-