flow-aggregator

by KubeSphere

Helm chartv1.9.0App 1.9.0Apache-2.0Verified publisher

Antrea Flow Aggregator

About this chart

flow-aggregator

Antrea Flow Aggregator

Homepage: https://antrea.io/

Source Code

Requirements

Kubernetes: >= 1.16.0-0

Values

KeyTypeDefaultDescription
activeFlowRecordTimeoutstring"60s"Provide the active flow record timeout as a duration string. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
aggregatorTransportProtocolstring"tls"Provide the transport protocol for the flow aggregator collecting process, which is tls, tcp or udp.
apiServer.apiPortint10348The port for the Flow Aggregator APIServer to serve on.
apiServer.tlsCipherSuitesstring""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.tlsMinVersionstring""TLS min version from: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13.
clickHouse.commitIntervalstring"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.compressbooltrueCompress enables lz4 compression when committing flow records.
clickHouse.connectionSecretobject{"password":"clickhouse_operator_password","username":"clickhouse_operator"}Credentials to connect to ClickHouse. They will be stored in a Secret.
clickHouse.databaseURLstring"tcp://clickhouse-clickhouse.flow-visibility.svc:9000"DatabaseURL is the url to the database. TCP protocol is required.
clickHouse.debugboolfalseDebug enables debug logs from ClickHouse sql driver.
clickHouse.enableboolfalseDetermine whether to enable exporting flow records to ClickHouse.
flowAggregatorAddressstring"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.addressstring""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.enableboolfalseDetermine whether to enable exporting flow records to external flow collector.
flowCollector.observationDomainIDstring""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.recordFormatstring"IPFIX"Provide format for records sent to the configured flow collector. Supported formats are IPFIX and JSON.
imageobject{"pullPolicy":"IfNotPresent","repository":"antrea/flow-aggregator","tag":""}Container image used by Flow Aggregator.
inactiveFlowRecordTimeoutstring"90s"Provide the inactive flow record timeout as a duration string. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
logVerbosityint0
recordContents.podLabelsboolfalseDetermine whether source and destination Pod labels will be included in the flow records.
s3Uploader.awsCredentialsobject{"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.bucketNamestring""BucketName is the name of the S3 bucket to which flow records will be uploaded. It is required.
s3Uploader.bucketPrefixstring""BucketPrefix is the prefix ("folder") under which flow records will be uploaded.
s3Uploader.compressbooltrueCompress enables gzip compression when uploading files to S3.
s3Uploader.enableboolfalseDetermine whether to enable exporting flow records to AWS S3.
s3Uploader.maxRecordsPerFileint1000000MaxRecordsPerFile is the maximum number of records per file uploaded. It is not recommended to change this value.
s3Uploader.recordFormatstring"CSV"RecordFormat defines the format of the flow records uploaded to S3. Only "CSV" is supported at the moment.
s3Uploader.regionstring"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.uploadIntervalstring"60s"UploadInterval is the duration between each file upload to S3.
testing.coverageboolfalse

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartflow-aggregator is pinned at v1.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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