radar-upload-source-connector
by RADAR-Base
Helm chartv0.6.2App 0.6.4Apache-2.0Verified publisher
A Helm chart for RADAR-base upload kafka connector. This is used for reading uploaded data from backend and sending them to Kafka cluster for later processing.
About this chart
radar-upload-source-connector
A Helm chart for RADAR-base upload kafka connector. This is used for reading uploaded data from backend and sending them to Kafka cluster for later processing.
Homepage: https://radar-base.org
Maintainers
| Name | Url | |
|---|---|---|
| Pim van Nierop | [email protected] | https://www.thehyve.nl/experts/pim-van-nierop |
Source Code
- https://github.com/RADAR-base/radar-helm-charts/tree/main/charts/radar-upload-source-connector
- https://github.com/RADAR-base/radar-upload-source-connector
Prerequisites
- Kubernetes 1.28+
- Kubectl 1.28+
- Helm 3.1.0+
Requirements
| Repository | Name | Version |
|---|---|---|
| https://radar-base.github.io/radar-helm-charts | common | 2.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 2 | Number of radar-upload-source-connector replicas to deploy |
| image.registry | string | "ghcr.io" | Image registry |
| image.repository | string | "radar-base/radar-upload-source-connector/radar-connect-upload-source" | Image repository |
| image.tag | string | nil | Image tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion. |
| image.digest | string | "" | Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName |
| nameOverride | string | "" | String to partially override radar-upload-source-connector.fullname template with a string (will prepend the release name) |
| fullnameOverride | string | "" | String to fully override radar-upload-source-connector.fullname template with a string |
| podSecurityContext | object | {} | Configure radar-upload-source-connector pods' Security Context |
| securityContext | object | {} | Configure radar-upload-source-connector containers' Security Context |
| service.type | string | "ClusterIP" | Kubernetes Service type |
| service.port | int | 80 | radar-upload-source-connector port |
| resources.requests | object | {"cpu":"100m","memory":"800Mi"} | CPU/Memory resource requests |
| nodeSelector | object | {} | Node labels for pod assignment |
| tolerations | list | [] | Toleration labels for pod assignment |
| affinity | object | {} | Affinity labels for pod assignment |
| secret.jaas | object | {"key":"sasl.jaas.config","name":"shared-service-user"} | Secret for the Kafka SASL JAAS configuration |
| extraEnvVars | list | [{"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_PRODUCER_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"},{"name":"CONNECT_SASL_MECHANISM","value":"SCRAM-SHA-512"},{"name":"CONNECT_PRODUCER_SASL_MECHANISM","value":"SCRAM-SHA-512"}] | Additional environment variables to pass to the connector. These can be used to pass supported kafka and connect specific configs |
| extraEnvVars[0] | object | {"name":"CONNECT_SECURITY_PROTOCOL","value":"SASL_PLAINTEXT"} | Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL. |
| extraEnvVars[2] | object | {"name":"CONNECT_SASL_MECHANISM","value":"SCRAM-SHA-512"} | Mechanism used to authenticate with SASL. Valid values are: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512. |
| customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| livenessProbe.enabled | bool | true | Enable livenessProbe |
| livenessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for livenessProbe |
| livenessProbe.periodSeconds | int | 30 | Period seconds for livenessProbe |
| livenessProbe.timeoutSeconds | int | 5 | Timeout seconds for livenessProbe |
| livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| livenessProbe.failureThreshold | int | 3 | Failure threshold for livenessProbe |
| customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| readinessProbe.enabled | bool | true | Enable readinessProbe |
| readinessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for readinessProbe |
| readinessProbe.periodSeconds | int | 30 | Period seconds for readinessProbe |
| readinessProbe.timeoutSeconds | int | 5 | Timeout seconds for readinessProbe |
| readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| readinessProbe.failureThreshold | int | 3 | Failure threshold for readinessProbe |
| customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| startupProbe.enabled | bool | true | Enable startupProbe |
| startupProbe.initialDelaySeconds | int | 5 | Initial delay seconds for startupProbe |
| startupProbe.periodSeconds | int | 10 | Period seconds for startupProbe |
| startupProbe.timeoutSeconds | int | 10 | Timeout seconds for startupProbe |
| startupProbe.successThreshold | int | 1 | Success threshold for startupProbe |
| startupProbe.failureThreshold | int | 30 | Failure threshold for startupProbe |
| networkpolicy | object | check values.yaml | Network policy defines who can access this application and who this applications has access to |
| zookeeper | string | nil | Zookeeper URL. Leave unset using Kafka in Kraft mode. |
| kafka | string | "SASL_PLAINTEXT://radar-kafka-kafka-bootstrap:9094" | Kafka broker URLs |
| kafka_num_brokers | string | "3" | Number of brokers in the cluster |
| schema_registry | string | "http://radar-kafka-schema-registry:8081" | Schema registry URL |
| managementportal_url | string | "http://management-portal:8080/managementportal" | URL of the Management Portal |
| radar_upload_connect_backend | string | "radar-upload-connect-backend" | Host name of the upload connect backend application |
| client_id | string | "radar_upload_connect" | OAuth2 Client Id of the Upload connector |
| client_secret | string | "upload_secret" | OAuth2 Client secret of the Upload connector |
| poll_interval | int | 60000 | How often the connector should poll for new records from upload connect backend in milliseconds. |
| record_converter_classes | string | Check values.yaml | List of converter classes to be activated as comma separated values. |
| uploaderType | string | "s3" | Uploader type for converters which directly write the files bypassing the Kafka processing. e.g. images and binaries. |
| s3Endpoint | string | "http://minio:9000/" | Target S3 endpoint, if files should be written to a location bypassing the Kafka processing. |
| bucketAccessKey | string | "access_key" | Target S3 access key |
| bucketSecretKey | string | "secret" | Target S3 secret key |
| targetBucketName | string | "radar-output-storage" | Target S3 bucket name |
| task.queueSize | int | 10000 | Maximum number of source records that can be produced at a time, preventing out of memory errors. |
| connect.offsetFlushIntervalMs | int | 5000 | Interval at which to try committing offsets for tasks. See |
| producer | object | Check below | Override kafka producer configs. For more details see https://docs.confluent.io/platform/current/installation/configuration/producer-configs.html |
| producer.compressionType | string | "lz4" | The compression type for all data generated by the producer. |
| producer.bufferMemory | int | 2000000 | The total bytes of memory the producer can use to buffer records waiting to be sent to the server. |
| producer.batchSize | int | 200000 | Batch size in bytes to batch records together into fewer requests when multiple records are being sent to the same partition. |
| kafka_wait.enabled | bool | true | Whether to wait before the specified number of brokers are available. |
| kafka_wait.properties | string | "" | Kafka connection properties file contents during wait. If empty, all environment variables starting with CONNECT_ will be used. |
Deploy radar-upload-source-connector with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has radar-upload-source-connector 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 chartradar-upload-source-connector is pinned at v0.6.2 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