schema-registry
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
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
kubeVersion | Override Kubernetes version | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override airflow.fullname template with a string (will prepend the release name) | "" |
fullnameOverride | String to fully override airflow.fullname template with a string | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
Schema Registry parameters
| Name | Description | Value |
|---|---|---|
image.registry | Schema Registry image registry | docker.io |
image.repository | Schema Registry image repository | bitnami/schema-registry |
image.tag | Schema Registry image tag (immutable tags are recommended) | 7.2.2-debian-11-r0 |
image.digest | Schema Registry image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Schema Registry image pull policy | IfNotPresent |
image.pullSecrets | Schema Registry image pull secrets | [] |
image.debug | Enable image debug mode | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
hostAliases | Schema Registry pods host aliases | [] |
podLabels | Extra labels for Schema Registry pods | {} |
configuration | Specify content for schema-registry.properties. Auto-generated based on other parameters when not specified | {} |
existingConfigmap | Name of existing ConfigMap with Schema Registry configuration | "" |
log4j | Schema Registry Log4J Configuration (optional) | {} |
existingLog4jConfigMap | Name of existing ConfigMap containing a custom log4j.properties file. | "" |
auth.tls.enabled | Enable TLS configuration to provide to be used when a listener uses HTTPS | false |
auth.tls.jksSecret | Existing secret containing the truststore and one keystore per Schema Registry replica | "" |
auth.tls.keystorePassword | Password to access the keystore when it's password-protected | "" |
auth.tls.truststorePassword | Password to access the truststore when it's password-protected | "" |
auth.tls.clientAuthentication | Client authentication configuration. | NONE |
auth.kafka.jksSecret | Existing secret containing the truststore and one keystore per Schema Registry replica | "" |
auth.kafka.tlsEndpointIdentificationAlgorithm | The endpoint identification algorithm used validate brokers hostnames | https |
auth.kafka.keystorePassword | Password to access the keystore when it's password-protected | "" |
auth.kafka.truststorePassword | Password to access the truststore when it's password-protected | "" |
auth.kafka.saslMechanism | Mechanism that schema registry will use to connect to kafka. Allowed: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512 | PLAIN |
listeners | Comma-separated list of listeners that listen for API requests over either HTTP or HTTPS | http://0.0.0.0:8081 |
avroCompatibilityLevel | Avro compatibility type | backward |
extraEnvVars | Extra environment variables to be set on Schema Registry container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
Schema Registry statefulset parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Schema Registry replicas to deploy. | 1 |
updateStrategy.type | Schema Registry statefulset strategy type | RollingUpdate |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
podManagementPolicy | Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join | OrderedReady |
podAnnotations | Annotations for Schema Registry pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
priorityClassName | Schema Registry pod priority class name | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | {} |
schedulerName | Name of the k8s scheduler (other than default) for Schema Registry pods | "" |
terminationGracePeriodSeconds | Seconds 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartschema-registry is pinned at v6.0.1 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