schema-registry

by joaquinito2051

Helm chartv6.0.1App 7.2.2

Confluent Schema Registry provides a RESTful interface by adding a serving layer for your metadata on top of Kafka. It expands Kafka enabling support for Apache Avro, JSON, and Protobuf schemas.

About this chart

Bitnami Confluent Schema Registry Stack

Confluent Schema Registry provides a RESTful interface by adding a serving layer for your metadata on top of Kafka. It expands Kafka enabling support for Apache Avro, JSON, and Protobuf schemas.

Overview of Confluent Schema Registry

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/schema-registry

Introduction

This chart bootstraps a Schema Registry statefulset on a Kubernetes cluster using the Helm package manager.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure
  • ReadWriteMany volumes for deployment scaling

Installing the Chart

To install the chart with the release name my-release:

helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/schema-registry

These commands deploy Schema Registry on the Kubernetes cluster with the default configuration. The parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release chart:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
kubeVersionOverride Kubernetes version""

Common parameters

NameDescriptionValue
nameOverrideString to partially override airflow.fullname template with a string (will prepend the release name)""
fullnameOverrideString to fully override airflow.fullname template with a string""
namespaceOverrideString to fully override common.names.namespace""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

Schema Registry parameters

NameDescriptionValue
image.registrySchema Registry image registrydocker.io
image.repositorySchema Registry image repositorybitnami/schema-registry
image.tagSchema Registry image tag (immutable tags are recommended)7.2.2-debian-11-r0
image.digestSchema Registry image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicySchema Registry image pull policyIfNotPresent
image.pullSecretsSchema Registry image pull secrets[]
image.debugEnable image debug modefalse
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
hostAliasesSchema Registry pods host aliases[]
podLabelsExtra labels for Schema Registry pods{}
configurationSpecify content for schema-registry.properties. Auto-generated based on other parameters when not specified{}
existingConfigmapName of existing ConfigMap with Schema Registry configuration""
log4jSchema Registry Log4J Configuration (optional){}
existingLog4jConfigMapName of existing ConfigMap containing a custom log4j.properties file.""
auth.tls.enabledEnable TLS configuration to provide to be used when a listener uses HTTPSfalse
auth.tls.jksSecretExisting secret containing the truststore and one keystore per Schema Registry replica""
auth.tls.keystorePasswordPassword to access the keystore when it's password-protected""
auth.tls.truststorePasswordPassword to access the truststore when it's password-protected""
auth.tls.clientAuthenticationClient authentication configuration.NONE
auth.kafka.jksSecretExisting secret containing the truststore and one keystore per Schema Registry replica""
auth.kafka.tlsEndpointIdentificationAlgorithmThe endpoint identification algorithm used validate brokers hostnameshttps
auth.kafka.keystorePasswordPassword to access the keystore when it's password-protected""
auth.kafka.truststorePasswordPassword to access the truststore when it's password-protected""
auth.kafka.saslMechanismMechanism that schema registry will use to connect to kafka. Allowed: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512PLAIN
listenersComma-separated list of listeners that listen for API requests over either HTTP or HTTPShttp://0.0.0.0:8081
avroCompatibilityLevelAvro compatibility typebackward
extraEnvVarsExtra environment variables to be set on Schema Registry container[]
extraEnvVarsCMName of existing ConfigMap containing extra env vars""
extraEnvVarsSecretName of existing Secret containing extra env vars""

Schema Registry statefulset parameters

NameDescriptionValue
replicaCountNumber of Schema Registry replicas to deploy.1
updateStrategy.typeSchema Registry statefulset strategy typeRollingUpdate
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
podManagementPolicyStatefulset Pod management policy, it needs to be Parallel to be able to complete the cluster joinOrderedReady
podAnnotationsAnnotations for Schema Registry pods{}
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
priorityClassNameSchema Registry pod priority class name""
topologySpreadConstraintsTopology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template{}
schedulerNameName of the k8s scheduler (other than default) for Schema Registry pods""
terminationGracePeriodSecondsSeconds Redmine pod needs to terminate gracefully""
lifecycleHooks

Deploy schema-registry with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has schema-registry 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 chartschema-registry is pinned at v6.0.1 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