flow-aggregator
by KubeSphere
Helm chartv1.9.0App 1.9.0Apache-2.0
Antrea Flow Aggregator
About this chart
flow-aggregator
Antrea Flow Aggregator
Homepage: https://antrea.io/
Source Code
Requirements
Kubernetes: >= 1.16.0-0
Values
| Key | Type | Default | Description |
|---|---|---|---|
| activeFlowRecordTimeout | string | "60s" | Provide the active flow record timeout as a duration string. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". |
| aggregatorTransportProtocol | string | "tls" | Provide the transport protocol for the flow aggregator collecting process, which is tls, tcp or udp. |
| apiServer.apiPort | int | 10348 | The port for the Flow Aggregator APIServer to serve on. |
| apiServer.tlsCipherSuites | string | "" | Comma-separated list of cipher suites that will be used by the Flow Aggregator APIservers. If empty, the default Go Cipher Suites will be used. |
| apiServer.tlsMinVersion | string | "" | TLS min version from: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13. |
| clickHouse.commitInterval | string | "8s" | CommitInterval is the periodical interval between batch commit of flow records to DB. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". |
| clickHouse.compress | bool | true | Compress enables lz4 compression when committing flow records. |
| clickHouse.connectionSecret | object | {"password":"clickhouse_operator_password","username":"clickhouse_operator"} | Credentials to connect to ClickHouse. They will be stored in a Secret. |
| clickHouse.databaseURL | string | "tcp://clickhouse-clickhouse.flow-visibility.svc:9000" | DatabaseURL is the url to the database. TCP protocol is required. |
| clickHouse.debug | bool | false | Debug enables debug logs from ClickHouse sql driver. |
| clickHouse.enable | bool | false | Determine whether to enable exporting flow records to ClickHouse. |
| flowAggregatorAddress | string | "flow-aggregator.flow-aggregator.svc" | Provide DNS name or IP address of flow aggregator for generating TLS certificate. It must match the flowCollectorAddr parameter in the antrea-agent config. |
| flowCollector.address | string | "" | Provide the flow collector address as string with format :[:], where proto is tcp or udp. If no L4 transport proto is given, we consider tcp as default. |
| flowCollector.enable | bool | false | Determine whether to enable exporting flow records to external flow collector. |
| flowCollector.observationDomainID | string | "" | Provide the 32-bit Observation Domain ID which will uniquely identify this instance of the flow aggregator to an external flow collector. If omitted, an Observation Domain ID will be generated from the persistent cluster UUID generated by Antrea. |
| flowCollector.recordFormat | string | "IPFIX" | Provide format for records sent to the configured flow collector. Supported formats are IPFIX and JSON. |
| image | object | {"pullPolicy":"IfNotPresent","repository":"antrea/flow-aggregator","tag":""} | Container image used by Flow Aggregator. |
| inactiveFlowRecordTimeout | string | "90s" | Provide the inactive flow record timeout as a duration string. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". |
| logVerbosity | int | 0 | |
| recordContents.podLabels | bool | false | Determine whether source and destination Pod labels will be included in the flow records. |
| s3Uploader.awsCredentials | object | {"aws_access_key_id":"changeme","aws_secret_access_key":"changeme","aws_session_token":""} | Credentials to authenticate to AWS. They will be stored in a Secret and injected into the Pod as environment variables. |
| s3Uploader.bucketName | string | "" | BucketName is the name of the S3 bucket to which flow records will be uploaded. It is required. |
| s3Uploader.bucketPrefix | string | "" | BucketPrefix is the prefix ("folder") under which flow records will be uploaded. |
| s3Uploader.compress | bool | true | Compress enables gzip compression when uploading files to S3. |
| s3Uploader.enable | bool | false | Determine whether to enable exporting flow records to AWS S3. |
| s3Uploader.maxRecordsPerFile | int | 1000000 | MaxRecordsPerFile is the maximum number of records per file uploaded. It is not recommended to change this value. |
| s3Uploader.recordFormat | string | "CSV" | RecordFormat defines the format of the flow records uploaded to S3. Only "CSV" is supported at the moment. |
| s3Uploader.region | string | "us-west-2" | Region is used as a "hint" to get the region in which the provided bucket is located. An error will occur if the bucket does not exist in the AWS partition the region hint belongs to. |
| s3Uploader.uploadInterval | string | "60s" | UploadInterval is the duration between each file upload to S3. |
| testing.coverage | bool | false |
Autogenerated from chart metadata using helm-docs v1.7.0
Deploy flow-aggregator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has flow-aggregator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartflow-aggregator is pinned at v1.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply