Update replicas & fix enableServiceLinks to false

This commit is contained in:
Benedith Mulongo 2024-12-06 13:45:44 +01:00
parent 332138fd71
commit 69bff0c503
Signed by: benedith
GPG key ID: 62D68B584B4B3EB3
4 changed files with 5 additions and 4 deletions

View file

@ -8,5 +8,4 @@ resources:
- schema-registry-deployment.yaml - schema-registry-deployment.yaml
- schema-registry-service.yaml - schema-registry-service.yaml
- kafka-registry-topic.yaml - kafka-registry-topic.yaml
- kafka-user-registry.yaml
# - kafka-user-registry.yaml

View file

@ -21,6 +21,8 @@ spec:
labels: labels:
app: schema-registry app: schema-registry
spec: spec:
# https://github.com/confluentinc/schema-registry/issues/689
enableServiceLinks: false
containers: containers:
- name: schema-registry - name: schema-registry
image: confluentinc/cp-schema-registry:6.1.1 image: confluentinc/cp-schema-registry:6.1.1

View file

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

View file

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