Change config for schema-registry test & prod
This commit is contained in:
parent
69bff0c503
commit
380e0bbf02
2 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -6,4 +6,4 @@ metadata:
|
|||
name: schema-registry
|
||||
namespace: kafka
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
|
|
Loading…
Add table
Reference in a new issue