Skip to content

Integrate DeepFlow

DeepFlow is an observability product based on eBPF. Its community edition has been integrated into Insight. The following is the integration process.

Prerequisites

Install DeepFlow and Configure Insight

Installing DeepFlow components requires two charts:

  • deepflow: includes components such as deepflow-app, deepflow-server, deepflow-clickhouse, deepflow-agent, etc. Generally, deepflow is deployed in the global service cluster, so it also installs deepflow-agent together.
  • deepflow-agent: only includes the deepflow-agent component, used to collect eBPF data and send it to deepflow-server.

Install DeepFlow

DeepFlow needs to be installed in the global service cluster.

  1. Go to the kpanda-global-cluster cluster and click Helm Apps -> Helm Charts in the left navigation bar, select community as the repository, and search for deepflow in the search box:

    Find deepflow

  2. Click the deepflow card to enter the details page:

    Card details

  3. Click Install to enter the installation page:

    Start installation

  4. Most of the values have default values. Clickhouse and Mysql require applying storage volumes, and their default sizes are 10Gi. You can search for relevant configurations and modify them using the persistence keyword.

  5. After configuring, click OK to start the installation.

Configure Insight

After installing DeepFlow, you also need to enable the related feature switches in Insight.

  1. Click ConfigMps & Keys -> ConfigMaps in the left navigation bar, search for insight-server-config in the search box, and edit it:

    Find insight-server-config

  2. In the YAML, find the eBPF Flow feature switch and enable it:

    Turn on the switch

  3. Save the changes and restart insight-server. The Insight main page will display Network Observability :

Install DeepFlow Agent

DeepFlow Agent is installed in the sub-cluster using the deepflow-agent chart. It is used to collect eBPF observability data from the sub-cluster and report it to the global service cluster. Similar to installing deepflow, go to Helm Apps -> Helm Charts, select community as the repository, and search for deepflow-agent in the search box. Follow the process to enter the installation page.

Parameter Explanation:

  • DeployComponent : deployment mode, default is daemonset.
  • timezone : timezone, default is Asia/Shanghai.
  • DeepflowServerNodeIPS : addresses of the nodes where deepflow server is installed.
  • deepflowK8sClusterID : cluster UUID.
  • agentGroupID : agent group ID.
  • controllerPort : data reporting port of deepflow server, can be left blank, default is 30035.
  • clusterNAME : cluster name.

After configuring, click OK to complete the installation.

Usage

After correctly installing DeepFlow, click Network Observability to enter the DeepFlow Grafana UI. It contains a large number of dashboards for viewing and helping analyze issues. Click DeepFlow Templates to browse all available dashboards:

Comments