Change config for schema-registry test & prod

This commit is contained in:
Benedith Mulongo 2024-12-09 13:00:02 +01:00
parent 69bff0c503
commit 380e0bbf02
Signed by: benedith
GPG key ID: 62D68B584B4B3EB3
2 changed files with 16 additions and 1 deletions

View file

@ -7,3 +7,18 @@ metadata:
namespace: kafka
spec:
replicas: 3
template:
spec:
containers:
- name: schema-registry
image: confluentinc/cp-schema-registry:6.1.1
ports:
- containerPort: 8081
protocol: TCP
env:
- name: SCHEMA_REGISTRY_HOST_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS
value: kafka-cluster-kafka-plainext-0:9092,kafka-cluster-kafka-plainext-1:9092,kafka-cluster-kafka-plainext-2:9092

View file

@ -6,4 +6,4 @@ metadata:
name: schema-registry
namespace: kafka
spec:
replicas: 2
replicas: 1