catalog-server

by RADAR-Base

Helm chartv0.9.3App 0.8.16Apache-2.0Verified publisher

A Helm chart for RADAR-base catalogue server. This application creates RADAR-base topics in Kafka, registers schemas in Schema Registry and keeps a catalog of available source types.

About this chart

catalog-server

A Helm chart for RADAR-base catalogue server. This application creates RADAR-base topics in Kafka, registers schemas in Schema Registry and keeps a catalog of available source types.

Homepage: https://radar-base.org

Maintainers

NameEmailUrl
Pim van Nierop[email protected]https://www.thehyve.nl/experts/pim-van-nierop

Source Code

Prerequisites

  • Kubernetes 1.28+
  • Kubectl 1.28+
  • Helm 3.1.0+
  • PV provisioner support in the underlying infrastructure

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
dev_deploymentboolfalseDeploy with settings for development (e.g., num_brokers = 1)
replicaCountint1Number of catalog-server replicas to deploy
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/radar-schemas/radar-schemas-tools"Image repository
image.tagstringnilImage tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion.
image.digeststring""Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName
nameOverridestring""String to partially override catalog-server.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override catalog-server.fullname template with a string
podSecurityContextobject{"fsGroup":101}Configure catalog-server pods' Security Context
securityContextobject{}Configure Appconfig containers' Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint9010catalog-server port
resources.requestsobject{"cpu":"100m","memory":"256Mi"}CPU/Memory resource requests
persistence.enabledbooltrueEnable persistence using PVC
persistence.accessModestring"ReadWriteOnce"PVC Access Mode for catalog-server volume
persistence.sizestring"5Mi"PVC Storage Request for catalog-server volume
nodeSelectorobject{}Node labels for pod assignment
tolerationslist[]Toleration labels for pod assignment
affinityobject{}Affinity labels for pod assignment
extraEnvVarsInitlist[]Extra environment variables
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
livenessProbe.enabledbooltrueEnable livenessProbe
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.timeoutSecondsint5Timeout seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.failureThresholdint3Failure threshold for livenessProbe
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
readinessProbe.enabledbooltrueEnable readinessProbe
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint30Period seconds for readinessProbe
readinessProbe.timeoutSecondsint5Timeout seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.failureThresholdint3Failure threshold for readinessProbe
customStartupProbeobject{}Custom startupProbe that overrides the default one
startupProbe.enabledbooltrueEnable startupProbe
startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
startupProbe.periodSecondsint10Period seconds for startupProbe
startupProbe.timeoutSecondsint10Timeout seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.failureThresholdint30Failure threshold for startupProbe
networkpolicyobjectcheck values.yamlNetwork policy defines who can access this application and who this applications has access to
kafka_num_brokersint3Number of deployed Kafka brokers
kafka_num_replicationint3Number of Kafka Topic replicates. Should be min 2, max 4, and is normally 3, but is limited by the number of brokers. ref: https://learn.conduktor.io/kafka/kafka-topics-choosing-the-replication-factor-and-partitions-count/
kafka_num_partitionsint3Number of Kafka Topic data partitions, Rule of thumb 3 times the number of brokers. Headroom is used for future upscale of brokers. ref: https://learn.conduktor.io/kafka/kafka-topics-choosing-the-replication-factor-and-partitions-count/
kafkastring"radar-kafka-kafka-bootstrap:9094"URI of Kafka brokers On strimzi operator, this points to the listener that has no tls, and scram-sha-512 authentication.
schema_registrystring"http://radar-kafka-schema-registry:8081"URL of the confluent schema registry
kafkaPropertiesobject{"sasl_mechanism":"SCRAM-SHA-512","security_protocol":"SASL_PLAINTEXT"}Additional kafka properties such as security config. The template replaces _ with . in keys so property keys can be specified using _ instead of .. For example security_protocol is same as security.protocol kafka config.
kafkaProperties.security_protocolstring"SASL_PLAINTEXT"Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.
kafkaProperties.sasl_mechanismstring"SCRAM-SHA-512"Mechanism used to authenticate with SASL. Valid values are: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512.
secret.jaasobject{"key":"sasl.jaas.config","name":"shared-service-user"}Secret for the Kafka SASL JAAS configuration
sources.includelist[]Only include given specification directory files. You can use File glob syntax as described in https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String- If include is specified, exclude will be ignored. The glob pattern should start from the specifications directory.
sources.excludelist[]Exclude all given specification directory files. You can use File glob syntax as described in https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String- If include is specified, exclude will be ignored. The glob pattern should start from the specifications directory.
sources.activelist[]active source specification, as done in RADAR-schemas/specifications/active. The array elements should be the full YAML specification.
sources.connectorlist[]connector source specification, as done in RADAR-schemas/specifications/connector. The array elements should be the full YAML specification.
sources.monitorlist[]monitor source specification, as done in RADAR-schemas/specifications/monitor. The array elements should be the full YAML specification.
sources.passivelist[]passive source specification, as done in RADAR-schemas/specifications/passive. The array elements should be the full YAML specification.
sources.pushlist[]push source specification, as done in RADAR-schemas/specifications/push. The array elements should be the full YAML specification.
sources.streamlist[]stream source specification, as done in RADAR-schemas/specifications/stream. The array elements should be the full YAML specification.
schemas.includelist[]Only include given schema directory files. You can use File glob syntax as described in https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String-. If include is specified, exclude will be ignored. The glob pattern should start from the commons directory.
schemas.excludelist[]Exclude all given schema directory files. You can use File glob syntax as described in https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String-. If include is specified, exclude will be ignored. The glob pattern should start from the commons directory.
schemas.activeobject{}active record schemas, as done in RADAR-schemas/commons/active. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.catalogueobject{}catalogue record schemas, as done in RADAR-schemas/commons/catalogue. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.connectorobject{}connector record schemas, as done in RADAR-schemas/commons/connector. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.kafkaobject{}catalogue record schemas, as done in RADAR-schemas/commons/kafka. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.monitorobject{}monitor record schemas, as done in RADAR-schemas/commons/monitor. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.passiveobject{}passive record schemas, as done in RADAR-schemas/commons/passive. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.pushobject{}push record schemas, as done in RADAR-schemas/commons/push. The object fields should be the file name, e.g. application/application_uptime.avsc.
schemas.streamobject{}stream record schemas, as done in RADAR-schemas/commons/stream. The object fields should be the file name, e.g. application/application_uptime.avsc.
cc.enabledboolfalseset to true if using Confluent Cloud for kafka cluster and schema registry
cc.bootstrapServerurlstring"confluent-url"URL of the bootstrap server of Confluent Cloud based kafka cluster
cc.apiKeystring"ccApikey"API key of the Confluent Cloud based kafka cluster
cc.apiSecretstring"ccApiSecret"API secret of the Confluent Cloud based kafka cluster
cc.schemaRegistryApiKeystring"srApiKey"API key of the Confluent Cloud based schema registry
cc.schemaRegistryApiSecretstring"srApiSecret"API secret of the Confluent Cloud based schema registry
podDisruptionBudget.enabledboolfalseEnable Pod Disruption Budget
podDisruptionBudget.minAvailableint1Minimum number of pods that must be available during disruptions
podDisruptionBudget.maxUnavailablestringnilMaximum number of pods that can be unavailable during disruptions

Deploy catalog-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has catalog-server 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 chartcatalog-server is pinned at v0.9.3 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