Installation
This document describes how to install the NetCap extension and lists its requirements and dependencies.
Requirements
NetCap extension has the following requirements and dependencies:
- Cennso in version 2.7
- Fast Path Provider v2.10 and/or User Plane Gateway v2.17
- Cennso Data Mesh Extension installed on the Management Cluster
Installation steps
NetCap installation consists of two steps:
- Install the NetCap package on the Management Cluster.
- Install NetCap components on the Core Cluster from which you want to capture traffic.
Install NetCap package on the Management Cluster
The NetCap extension is installed on the Management Cluster in the same way as any other extensionBroken link. You can install it using either the Cennso Management Console (CMC) or the CLI:
To install the NetCap extension using CMC:
- Go to Cennso Management → Packages and choose the
NetCaptile. - Choose the package version, select the target namespace, and specify the extension name.
- Click Install to complete the installation.
To install the NetCap extension using CLI:
Create a YAML file (for example:
extension-cennso-netcap.yaml) defining a Provider NetCap Custom Resource (CR). For example:yamlApply the Extension NetCap CR to your Management Cluster using this command:
bashTo check if the extension was properly installed, run:
bashSample output:
text
Install NetCap components on a Core Cluster
For each Core Cluster where you want to capture traffic, you have to install the NetCap Cluster Deployment resource.
To install the NetCap Cluster Deployment using CMC:
- Go to Cennso Management → Network Applications and press + New.
- Choose the
NetCap Cluster Deploymenttile. - Choose the composition and its version and press Select.
- Fill out the necessary fields in the Metadata tab:
- In the Namespace field, choose the target namespace where you want to install NetCap Cluster Deployment.
- In the Name field, provide the name of your NetCap Cluster Deployment instance.
- In the Core Cluster field, choose the namespace where the Core Cluster is deployed. Then, choose the Core Cluster name.
- Optionally, go to the Specification tab where you can:
- Define NetCap components affinity and tolerations
- Set HA mode for Data Mesh
- Provide private SSH keys for accessing a remote storage.
- Select a location and a version for the
netcap-providerHelm chart. - Provide the pull secret reference for a custom registry.
- Click Create to complete the deployment.
To install NetCap Cluster Deployment using CLI:
Create a YAML file (for example:
cluster-deployment.yaml) defining a NetCap Cluster Deployment Custom Resource (CR). For example:yamlApply the NetCap Cluster Deployment CR to your Management Cluster using this command:
bashTo check if the NetCap Cluster Deployment is installed and ready, run:
bashSample output:
bash
Deployment configuration
The NetCapClusterDeployment CR configures the NetCap components that run on the Core Cluster. Its parameters select the composition revision, set the Helm chart source and its pull secret, switch Cennso Data Mesh to High Availability (HA) mode, place the NetCap Collector and NetCap Sink pods on specific nodes, and pass SSH private keys and environment variables to NetCap Sink.
For the parameter descriptions, their default values and configuration examples, see NetCapClusterDeployment CR.
Next steps
Now that you’ve installed the NetCap extension and deployed NetCap components on the Core Cluster, you can:
- Configure PCAP capturing to start collecting traffic data.
- Read Architecture and workflow overview to learn how NetCap handles traffic capturing under the hood.
- Read About PCAP capturing to learn about all traffic capturing capabilities.