nav-img
Advanced

CCE Network Metrics Exporter

Add-on Overview

CCE Network Metrics Exporter (dolphin) is an add-on for monitoring and managing container network traffic. It collects traffic statistics of containers that do not use the host network in CCE Turbo clusters and performs node-wide container connectivity checks.

Add-on Parameters

Table 1 Parameters

Parameter

Mandatory

Type

Description

basic

No

object

Basic configuration parameters, which do not need to be specified

flavor

Yes

Table 2 object

Flavor parameters

custom

Yes

Table 3 object

Custom parameters

Table 2 Configuration of flavor

Parameter

Mandatory

Type

Description

name

Yes

String

Add-on specification name. The value is fixed at default.

resources

Yes

resources object

Container resource (CPU and memory) quotas

Table 3 Configuration of custom

Parameter

Mandatory

Type

Description

annotations

No

Map<String>String

Custom annotation

Table 4 Data structure of the resources field

Parameter

Mandatory

Type

Description

limitsCpu

Yes

String

CPU size limit (unit: m)

Default value: 500m

limitsMem

Yes

String

Memory size limit (unit: Mi)

Default value: 512Mi

name

Yes

String

Add-on name. The value is fixed at dolphin.

requestsCpu

Yes

String

Requested CPU size (unit: m)

Default value: 500m

requestsMem

Yes

String

Requested memory size (unit: Mi)

Default value: 512Mi

Example Request

{
"kind": "Addon",
"apiVersion": "v3",
"metadata": {
"name": "dolphin",
"alias": "CCE Network Metrics Exporter",
"addon.install/type": "install"
},
"spec": {
"clusterID": "***",
"version": "1.4.5",
"addonTemplateName": "dolphin",
"values": {
"basic": {
"cluster_version": "v1.28",
"image_version": "1.4.5",
"platform": "linux-amd64",
"rbac_enabled": true,
"swr_addr": "***",
"swr_user": "***"
},
"custom": {
"annotations": {}
},
"flavor": {
"name": "default",
"resources": [
{
"limitsCpu": "500m",
"limitsMem": "512Mi",
"name": "dolphin",
"requestsCpu": "500m",
"requestsMem": "512Mi"
}
]
}
}
}
}